homepage Welcome to WebmasterWorld Guest from 54.227.34.0
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

    
css ok in firefox, not in ie
php in css ok in firefox, not ie
weddingm

5+ Year Member



 
Msg#: 4082909 posted 2:09 pm on Feb 18, 2010 (gmt 0)

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

WebmasterWorld Senior Member fotiman us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 4082909 posted 3:10 pm on Feb 18, 2010 (gmt 0)

"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

5+ Year Member



 
Msg#: 4082909 posted 3:19 am on Feb 19, 2010 (gmt 0)

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

WebmasterWorld Senior Member fotiman us a WebmasterWorld Top Contributor of All Time 5+ Year Member



 
Msg#: 4082909 posted 2:06 pm on Feb 19, 2010 (gmt 0)

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.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved