![]() |
Css issues, help please
I have a border color set for white, it works fine in FireFox but in IE there is no border can someone give me a hand please
|
did you assign a width and everything?
style="border: 1px SOLID #FFFFFF;" should work everywhere. |
Quote:
|
Quote:
|
Post what your code looks like
|
It's probably something else. IE and FF handle box properties differently. IE does them wrong, as usual, lol.
|
Quote:
Code:
<style type="text/css"> |
Quote:
|
try not to mix-match
border and border-color -- border-color just defined color attributes -- border allows you to define border width, style and color *shrug* |
Quote:
Ive tried bith of them indepently and togather and still doesnt work |
You haven't set the width of the border
border: #FFFFFF; should be border: 1px solid #FFFFFF; and what psili said. |
If I remember correct, Mozilla has a default border of 1px (that's why you see it without setting it) and IE has a default of 0px.
|
The below code will work.
Code:
img |
This is a nice old reference that is worth a bookmark: http://www.htmlhelp.com/reference/css/properties.html
Check the box properties. It could also be other parts of your HTML code too. IE and FF handle Margin, Cellspacing and Padding differently. So if you have padding in the HTML, or other conflicting things, try one by one until you find it. |
Quote:
|
K. We have the stylesheet, throw down an example HTML of how your actually using it. That may help a bit.
|
This is a lifesaver
http://www.w3schools.com/css/css_examples.asp |
Got it thanks guys
|
Quote:
.style1 { ...... } Make sure that the other tables doesn't use the same style. |
Quote:
|
Hi Pete,
first off, there is an opening brace / close brace mismatch. Basically, the number of open don't match the number of close braces. The culprit is style 5 and 7 next, you have multiple semi-colons after values, like this: border: #FFFFFF;; it should be: border: #FFFFFF; Cheers ... |
Quote:
|
Quote:
Had the wrong style set for my table easy fix :) just overlooked it |
this cross browser stuff is a headache sometimes
|
| All times are GMT -7. The time now is 04:31 PM. |
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123