new to css |
new to css |
ahgrafx |
Apr 16 2008, 07:35 PM
Post
#1
|
Newbie Group: Members Posts: 10 Joined: 16-April 08 Member No.: 5,458 |
just wondering if someone could help me out im trying to get the footer to show 100% http://suzannescotthansen.com/ and also a background. thanks im new around here and to css.
|
ironwilliamcash |
Apr 16 2008, 11:12 PM
Post
#2
|
Group: Members Posts: 4 Joined: 16-April 08 Member No.: 5,459 |
just wondering if someone could help me out im trying to get the footer to show 100% http://suzannescotthansen.com/ and also a background. thanks im new around here and to css. Not sure what you mean by show 100%... You could always use : width:100% in your css, if that's what your looking for but I dont think sor. And for a background image you can use : background-image:url(yourimage.jpg); Look it up on www.w3schools.com, there are a lot of properties for a background image such as y-position, x-position, repeat-x, repeat-y, no-repeat and others I believe |
ahgrafx |
Apr 17 2008, 04:16 AM
Post
#3
|
Newbie Group: Members Posts: 10 Joined: 16-April 08 Member No.: 5,458 |
its heighth that im trying to manipulate because as you can see it isnt showing the whole image
|
Darin McGrew |
Apr 17 2008, 05:19 AM
Post
#4
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
The reason http://suzannescotthansen.com/images/main_bg_bot.gif doesn't show is because div#body_container has no padding specified, div#body_container_b has no margin specified, and thus the background for div#body_container_b covers the background for div#body_container (except for a small area where the default padding/margin allow part of the background of div#body_container to be seen).
But IMHO, http://suzannescotthansen.com/images/main_bg_bot.gif should not be a background image at all. If you're going to use images of text, then use inline images where you can provide the text in the alt attribute. |
ahgrafx |
Apr 17 2008, 02:47 PM
Post
#5
|
Newbie Group: Members Posts: 10 Joined: 16-April 08 Member No.: 5,458 |
awesome thanks darin i will give it a try!
|
ahgrafx |
Apr 17 2008, 04:02 PM
Post
#6
|
Newbie Group: Members Posts: 10 Joined: 16-April 08 Member No.: 5,458 |
do you mean make an iframe for the image?
|
Darin McGrew |
Apr 17 2008, 10:27 PM
Post
#7
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
Please see the FAQ entry How can I display an image on my page?
|
ahgrafx |
Apr 17 2008, 10:50 PM
Post
#8
|
Newbie Group: Members Posts: 10 Joined: 16-April 08 Member No.: 5,458 |
well i got the background working but i still cant seem to get the whole image in the center bottom to totally show
|
Darin McGrew |
Apr 17 2008, 10:59 PM
Post
#9
|
WDG Member Group: Root Admin Posts: 8,365 Joined: 4-August 06 From: Mountain View, CA Member No.: 3 |
You're still using images of text as background images. If you're going to use images of text, then use inline images so you can specify the text as the alt attribute: <img src=... alt=...>
And div#body_container still has no padding, and div#body_container_b still has no margin, so the background image isn't going to show. |
Lo-Fi Version | Time is now: 23rd April 2024 - 05:23 PM |