Public Voice Network
- blog 3094930949
- Xmas Presents 55
- Online sales tools 99
- The Big Lebowski 7575
- Pic of the Day 1042110421
- Synthetic paper 33
- Sweet! 1111
- RGB to CMYK 55
- The Grid System 1313
- for a gift 1111
- nav of the year 5050
- vertical scrollbar 77
- Kustaa Saksi 22
- new york 22
- Joshua Davis Quote 1616
- imac problem 1212
- photobooth osx 66
- good interactive blog 33
- What are you listening to… 921921
- Litmusapp alternatives
- Coding fonts 1414
- who built protectthehuman… 22
- NSFW: Official Thread. 162162
- Developers... 1515
CSS troubles 3434 Responses
Last post: 2 years, 9 months ago | Thread started: Feb 10, 06, 11 a.m.
- doesnotexist
so im actually taking the time to read up on css and not just do a once over kind of knowing it.
anyways, im trying to do a border, not showing up.
my element is coming through more than once...thought it was only supposed to happen once?
and my backgrounds arent working. here's my css:
body {
background: #FFFFFF;
font-family: Georgia, sans-serif;
font-size: 12px;
margin: 150px;
}.p {font-family: georgia;
font-size: 30px;
font-weight: bold;
}.p2 {font-family: georgia;
font-size: 15px;
font-weight: bold;
color: FF9900
}#container{
width: 10%;
margin: 20px;
border: 5px, solid, 666666;
background: CCCCCC;
font-family: georgia;
color: 666666;
}- Feb 10, 06, 11 a.m. – Permalink
- doesnotexist
aight, so i added the #'s, no luck. and i removed the commas from the border properties...still not showing up. GAH
im on safari osx


- Dog-earFeb 10, 06, 11:15 a.m. – Permalink
- bulletfactory
link to the page?


- Dog-earFeb 10, 06, 11:16 a.m. – Permalink
- doesnotexist
uploaded:


- Dog-earFeb 10, 06, 11:19 a.m. – Permalink
- bulletfactory
there are some conflicting tags in there..... the body tag has 2 different background color properties - one set w/ background-color: #ffffff and the second with background:#000000 url...


- Dog-earFeb 10, 06, 11:27 a.m. – Permalink
- doesnotexist
fixed those, still not working. weird.


- Dog-earFeb 10, 06, 11:30 a.m. – Permalink
- version3
http://www.w3schools.com/css/def…
http://www.w3.org/Style/CSS/

- Dog-earFeb 10, 06, 11:31 a.m. – Permalink
- nocomply
Yeah you got a number of issues going on in there, and the page renders very differently in FireFox and IE.
One thing I'd say is to stay away from using percentages to define width and height whenever possible. That's really just my personal preference, but it makes things a lot easier for me to use pixels. I'm a fan of fixed width layout because they always "work" for me.


- Dog-earFeb 10, 06, 11:32 a.m. – Permalink
- doesnotexist
thanks? kind of why im asking for help, as i dont understand why it's not working.


- Dog-earFeb 10, 06, 11:33 a.m. – Permalink
- doesnotexist
aight so basically my border's not working...and my margins arent working on my container.
screenshot:


- Dog-earFeb 10, 06, 11:35 a.m. – Permalink
- doesnotexist
hmmm...just tested it on my pc...the borders and background for the element is coming through....why not safari?


- Dog-earFeb 10, 06, 11:37 a.m. – Permalink
- bulletfactory
when i edit your css using firefox, is see those weird characters (the ?'s) - when I remove those, your page renders correctly.


- Dog-earFeb 10, 06, 11:38 a.m. – Permalink
- doesnotexist
ahhhhhh wtf?!?!
i dont see those in dreamweaver...but i replaced what i see on your screen with spaces, IT WORKS!
thanks, dude


- Dog-earFeb 10, 06, 11:40 a.m. – Permalink
- bulletfactory
glad i could help!


- Dog-earFeb 10, 06, 11:41 a.m. – Permalink




