SitePoint Sponsor |
|
User Tag List
Results 1 to 10 of 10
-
Oct 22, 2001, 16:55 #1
- Join Date
- Feb 2000
- Location
- England
- Posts
- 568
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
NS4 choking on this simple CSS. any ideas?
I came across this simple CSS i want to use:
Code:INPUT { font-family: verdana, arial; font-size: 11px; border: 1px outset #EEEEFF; } TEXTAREA { font-family: verdana, arial; font-size: 11px; border: 1px outset #EEEEFF; }
-
Oct 22, 2001, 17:24 #2
- Join Date
- Jul 2001
- Posts
- 284
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Try this...
font: 11px "verdana", "arial";
border: 1px outset #EEEEFF;
It's not much different, but may work.
-
Oct 22, 2001, 18:03 #3
- Join Date
- Feb 2000
- Location
- England
- Posts
- 568
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
playing with it more it is the border command
having border: 1px means that the textareas will not display and i get the normal input boxes but then this weird square box by the side of the input.
i don't get this...
-
Oct 23, 2001, 02:33 #4
- Join Date
- Jul 2001
- Location
- Berkshire, UK
- Posts
- 7,442
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
check out http://www.richinstyle.com/ as this lists all the bugs with different browsers, I knew margin where a problem in NS but didn't realise border where too. You might need to set up different style sheets for the older versions? that way the ones that can read your css see soemthing good and the older version see a plain box.
SarahRegular user
-
Oct 23, 2001, 03:45 #5
- Join Date
- Feb 2000
- Location
- England
- Posts
- 568
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
ok thanks Sarah, and snap on location
berkshire...
-
Oct 23, 2001, 07:05 #6
- Join Date
- Jul 2001
- Location
- Berkshire, UK
- Posts
- 7,442
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
ha haa
Just had a thought change it to this:
border-styleutset
border-width:1px
Does that do anything different? (my css book says that border-style outset is okay for all ns and ie but when you come to border that is buggy and partial with all versions?? worth a try?)
so where in berkshire then? Its a big placeMe newbury
ha ha sorry that should have read border-style: outset (without space)Regular user
-
Oct 23, 2001, 19:21 #7
- Join Date
- Jun 2001
- Location
- Oklahoma
- Posts
- 3,392
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
::whispers:: Sarah -- you can click on the little checkbox that says "Disable Smilies in This Post" -- just thought you'd like to know. ::whispers::
Colin Anderson
Ambition is a poor excuse for those without
sense enough to be lazy.
-
Oct 24, 2001, 02:29 #8
- Join Date
- Jul 2001
- Location
- Berkshire, UK
- Posts
- 7,442
- Mentioned
- 1 Post(s)
- Tagged
- 0 Thread(s)
[nudge][nudge] gotcha cheers Aes
Regular user
-
Oct 24, 2001, 05:26 #9
padders, you could use different styles for IE and NN. A java script code like this one let's the browser know what style to use:
Code:<FORM> <SCRIPT> if (navigator.appName == 'Netscape') { document.write('<INPUT type="text" size=20>\n'); } else { document.write('<INPUT type="text" size=30 class="yourstyle">\n'); } </SCRIPT> <NOSCRIPT> <INPUT type="text" size=20> </NOSCRIPT> </FORM>
<!--> <!--> Here is a tutorial.
-
Oct 31, 2001, 09:43 #10
- Join Date
- Feb 2000
- Location
- England
- Posts
- 568
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Sarah, although it looks slightly different your suggestion worked perfectly, thank you!
I live near maidenhead but at the moment at uni in Oxford.
Marina, thanks for the tip - i might just do that in the future.
Bookmarks