Welcome to WebmasterWorld Guest from 54.145.44.134

Forum Moderators: not2easy

Message Too Old, No Replies

css ok in firefox, not in ie

php in css ok in firefox, not ie

     

weddingm

2:09 pm on Feb 18, 2010 (gmt 0)

5+ Year Member



I have entered the correct line in my ht access file to access php in my css file. All other code works correctly except for the code below. It looks correct in firefox as purple but in ie it is white? Anyone have any ideas?

.line2{ border-bottom: 1px solid; border-color: <?php echo($webinfo53)?>;}

Fotiman

3:10 pm on Feb 18, 2010 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



"border-bottom" is the shorthand for defining the width, style, AND color. Your CSS is technically incorrect. Try this:

.line2{ border-bottom: 1px solid <?php echo($webinfo53)?>;}

weddingm

3:19 am on Feb 19, 2010 (gmt 0)

5+ Year Member



Thanks. I did change it to

.line2{ border-bottom: 1px solid <?php echo ($webinfo53) ?>;}


However, it still does not work. However, the following does work?
a.butter:LINK {color: <?php echo ($webinfo53) ?>;


td.line2 doesn't work either

Fotiman

2:06 pm on Feb 19, 2010 (gmt 0)

WebmasterWorld Senior Member fotiman is a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



I would suggest using IE8's Developer Tools to inspect the element and see what styles it thinks it's supposed to be applying. That might offer some clues.
 

Featured Threads

Hot Threads This Week

Hot Threads This Month