homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

CSS - Not showing all?

Msg#: 4435808 posted 8:56 am on Apr 1, 2012 (gmt 0)

Hey WebMasterWorld,

Right today I am hoping you could help me as I have tried everything and so have my friends


Code -
#right {
background: url('img/main_cnt_bg.png');
width: 559px;
height: 100%;
float: right;

.rightc {
background: url('img/main-cnt.png');
width: 550px;
height: auto;
float: right;
margin-right: 5px;
margin-top: 25px;

<div id="right">
<div class="rightc">
<?php include('home.php') ?>

Jackery :)



WebmasterWorld Senior Member lucy24 us a WebmasterWorld Top Contributor of All Time Top Contributors Of The Month

Msg#: 4435808 posted 9:30 am on Apr 1, 2012 (gmt 0)

Would help if you gave some clue what you're supposed to see. In the code I see a float inside of a float, which puts the whole thing in the "just asking for trouble" class. In the screenshot I see pieces of three separate elements, plus a repeating background. Unless that's your computer's wallpaper.

Since you haven't set a repeat on either background, I would expect both divs to have either an explicit height and width matching the background, or a background-position statement. Default is top left, which kinda looks like what you're getting.


Msg#: 4435808 posted 9:39 am on Apr 1, 2012 (gmt 0)

Right basically I am trying to make the height Full to the bottom so it overlays the background image
so like
Height: 100px;

but it doesn't work.

also its the <div id="right"> that is meant to be repeating
repeat-y doesn't / didn't work


WebmasterWorld Senior Member g1smd us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4435808 posted 4:09 pm on Apr 1, 2012 (gmt 0)

When you link to an image, start the link with a leading slash and mention the full path to the file. The image will then load no matter what folder depth the page that calls it is in.

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