|
|
|
||||
|
Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact us. |
![]() |
|
|||||||
| Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed. |
|
|
Thread Tools |
|
|
#1 |
|
Workin With The Devil
Industry Role:
Join Date: Oct 2004
Location: West Bloomfield, MI
Posts: 51,532
|
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
|
|
|
|
|
|
#2 |
|
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
did you assign a width and everything?
style="border: 1px SOLID #FFFFFF;" should work everywhere.
__________________
Your post count means nothing. |
|
|
|
|
|
#3 | |
|
Workin With The Devil
Industry Role:
Join Date: Oct 2004
Location: West Bloomfield, MI
Posts: 51,532
|
Quote:
|
|
|
|
|
|
|
#4 | |
|
Workin With The Devil
Industry Role:
Join Date: Oct 2004
Location: West Bloomfield, MI
Posts: 51,532
|
Quote:
|
|
|
|
|
|
|
#5 |
|
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
Post what your code looks like
|
|
|
|
|
|
#6 |
|
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
It's probably something else. IE and FF handle box properties differently. IE does them wrong, as usual, lol.
__________________
43-922-863 Shut up and play your guitar.
|
|
|
|
|
|
#7 | |
|
Workin With The Devil
Industry Role:
Join Date: Oct 2004
Location: West Bloomfield, MI
Posts: 51,532
|
Quote:
Code:
<style type="text/css">
<!--
body,td,th {
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #FFFFFF;
border: #FFFFFF;;
border-color: white;
}
body {
background-color: #FFFFFF;
background-image: url(bg.jpg);
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
border: #FFFFFF;;
}
.style1 {
color: #AE0408;
border: #FFFFFF;;
border-color: white;
}
.style2 {
font-size: x-large;
font-weight: bold;
color: #FFCC00;
border: #FFFFFF;;
border-color: white;
}
.style3 {
color: #FFCC00;
border: #FFFFFF;;
border-color: white;
}
.style4 {
color: #FF0000;
border: #FFFFFF;;
border-color: white;
}
.style5{border: 2px solid #FFFFFF;
border-color: white;}
.style7{border: #FFFFFF;;
border-color: white;}
}
a:link {
color: #FFFFFF;
text-decoration: none;
border: #FFFFFF;;
border-color: white;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
border: #FFFFFF;;
border-color: white;
}
a:hover {
text-decoration: none;
color: #FFFFFF;
border: #FFFFFF;;
border-color: white;
}
a:active {
text-decoration: none;
color: #FFFFFF;
border: #FFFFFF;;
border-color: white;
}
.style6 {
font-size: x-large;
font-weight: bold;
color: #FFCC00;
border: #FFFFFF;;
border-color: white;
}
-->
</style>
|
|
|
|
|
|
|
#8 | |
|
Show Yer Tits!
Industry Role:
Join Date: Feb 2002
Location: Somewhere Out there...
Posts: 25,792
|
Quote:
__________________
![]() Scammer Alert: acer19 acer [email protected] [email protected] Money stolen using PayPal
|
|
|
|
|
|
|
#9 |
|
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
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*
__________________
Your post count means nothing. |
|
|
|
|
|
#10 | |
|
Workin With The Devil
Industry Role:
Join Date: Oct 2004
Location: West Bloomfield, MI
Posts: 51,532
|
Quote:
Ive tried bith of them indepently and togather and still doesnt work |
|
|
|
|
|
|
#11 |
|
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
You haven't set the width of the border
border: #FFFFFF; should be border: 1px solid #FFFFFF; and what psili said. |
|
|
|
|
|
#12 |
|
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
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.
|
|
|
|
|
|
#13 |
|
Confirmed User
Join Date: Jan 2005
Location: United Kingdom
Posts: 7,990
|
The below code will work.
Code:
img
{
border-width: 1px;
border-color: #FFFFFF;
border-style: solid;
}
|
|
|
|
|
|
#14 |
|
Porn Meister
Industry Role:
Join Date: Feb 2005
Posts: 16,443
|
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.
__________________
43-922-863 Shut up and play your guitar.
|
|
|
|
|
|
#15 | |
|
Workin With The Devil
Industry Role:
Join Date: Oct 2004
Location: West Bloomfield, MI
Posts: 51,532
|
Quote:
|
|
|
|
|
|
|
#16 |
|
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
K. We have the stylesheet, throw down an example HTML of how your actually using it. That may help a bit.
__________________
Your post count means nothing. |
|
|
|
|
|
#17 |
|
Confirmed User
Join Date: Aug 2004
Location: My dog is blacker than Tupac
Posts: 5,471
|
This is a lifesaver
http://www.w3schools.com/css/css_examples.asp |
|
|
|
|
|
#18 |
|
Workin With The Devil
Industry Role:
Join Date: Oct 2004
Location: West Bloomfield, MI
Posts: 51,532
|
Got it thanks guys
|
|
|
|
|
|
#19 | |
|
Confirmed User
Industry Role:
Join Date: Jan 2002
Posts: 7,981
|
Quote:
.style1 { ...... } Make sure that the other tables doesn't use the same style. |
|
|
|
|
|
|
#20 | |
|
Confirmed User
Join Date: Apr 2003
Location: Loveland, CO
Posts: 5,526
|
Quote:
__________________
Your post count means nothing. |
|
|
|
|
|
|
#21 |
|
Confirmed User
Industry Role:
Join Date: Aug 2001
Location: Scotland
Posts: 2,238
|
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 ...
__________________
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning. |
|
|
|
|
|
#22 | |
|
Viva la vulva!
Join Date: Mar 2003
Location: you can't please everyone, so you got to please yourself
Posts: 16,557
|
Quote:
![]() |
|
|
|
|
|
|
#23 | |
|
Workin With The Devil
Industry Role:
Join Date: Oct 2004
Location: West Bloomfield, MI
Posts: 51,532
|
Quote:
Had the wrong style set for my table easy fix |
|
|
|
|
|
|
#24 |
|
Confirmed User
Join Date: Aug 2005
Location: ICQ: 248877409
Posts: 8,597
|
this cross browser stuff is a headache sometimes
|
|
|
|