sign in | join about | help | sitemap
Connecting Tech Pros Worldwide
aeldaly@gmail.com's Avatar

Small css problem


Question posted by: aeldaly@gmail.com (Guest) on August 5th, 2005 03:35 PM
My website (linux-place.com) is built with css and no tables or frames
whatsoever. The left "frame" looks fine, unless the page needs
scrolling. When I scroll down, the left "frame's" background colour
does not extend to that part of the page. The sheet can be found at
linux-place.com/style.css

What can I do so that it fills the whole area?

Thanks,
Ahmed El-Daly

5 Answers Posted
Jedi Fans's Avatar
Guest - n/a Posts
#2: Re: Small css problem

Join Bytes! wrote:[color=blue]
> My website (linux-place.com) is built with css and no tables or frames
> whatsoever. The left "frame" looks fine, unless the page needs
> scrolling. When I scroll down, the left "frame's" background colour
> does not extend to that part of the page. The sheet can be found at
> linux-place.com/style.css
>
> What can I do so that it fills the whole area?[/color]

<URL:http://www.alistapart.com/articles/fauxcolumns/>

--
Hope This Helped and MTFBWY...
Kieren aka JediFans - <URL:http://jedifans.com/>
The Force Is With Me, SuSE Linux Professional 9.3, Mozilla Firefox
1.0.6, Mozilla Thunderbird 1.5 Alpha 2 and Revenge Of The Sith!
mbstevens's Avatar
Guest - n/a Posts
#3: Re: Small css problem

Join Bytes! wrote:[color=blue]
> My website (linux-place.com) is built with css and no tables or frames
> whatsoever. The left "frame" looks fine, unless the page needs
> scrolling. When I scroll down, the left "frame's" background colour
> does not extend to that part of the page. The sheet can be found at
> linux-place.com/style.css
>
> What can I do so that it fills the whole area?
>
> Thanks,
> Ahmed El-Daly
>[/color]
I would start by getting the page to validate at
http://validator.w3.org, for both markup and CSS.
Right now it has so many errors showing that I wouldn't
even attempt to waste a lot of time reading the markup
and CSS.

And, I would get rid of that 'Firefox...' frame at the bottom.

Once you've done all that, you might look
at some good templates like those at realworldstyle.com,
the 2 column template, and note differences between your
markup and that template.
--
mbstevens
http://www.mbstevens.com/cgi/mkatt....tique_Generator




aeldaly@gmail.com's Avatar
aeldaly@gmail.com August 6th, 2005 01:55 AM
Guest - n/a Posts
#4: Re: Small css problem

mbstevens wrote:[color=blue]
> I would start by getting the page to validate at
> http://validator.w3.org, for both markup and CSS.
> Right now it has so many errors showing that I wouldn't
> even attempt to waste a lot of time reading the markup
> and CSS.
>
> And, I would get rid of that 'Firefox...' frame at the bottom.
>
> Once you've done all that, you might look
> at some good templates like those at realworldstyle.com,
> the 2 column template, and note differences between your
> markup and that template.
> --
> mbstevens
> http://www.mbstevens.com/cgi/mkatt....tique_Generator[/color]

Thanks. I have vaildated both the XHTM and the CSS on the page and
place the validation icons on the footer. I have also decreased the
size of the Get Firefox! icon.

Seems like the only way to have the left div colors to extend all the
way to the bottom is by using a picture, which kind of sucks.

Anyone else solved this problem without using a picture as a
background?

Thanks to all,
Ahmed El-Daly

Berna Bleeker's Avatar
Guest - n/a Posts
#5: Re: Small css problem

Join Bytes! schreef:[color=blue]
> mbstevens wrote:
>[color=green]
>>I would start by getting the page to validate at
>>http://validator.w3.org, for both markup and CSS.
>>Right now it has so many errors showing that I wouldn't
>>even attempt to waste a lot of time reading the markup
>>and CSS.
>>
>>And, I would get rid of that 'Firefox...' frame at the bottom.
>>
>>Once you've done all that, you might look
>>at some good templates like those at realworldstyle.com,
>>the 2 column template, and note differences between your
>>markup and that template.
>>--
>>mbstevens
>>http://www.mbstevens.com/cgi/mkatt....tique_Generator[/color]
>
>
> Thanks. I have vaildated both the XHTM and the CSS on the page and
> place the validation icons on the footer. I have also decreased the
> size of the Get Firefox! icon.
>
> Seems like the only way to have the left div colors to extend all the
> way to the bottom is by using a picture, which kind of sucks.
>
> Anyone else solved this problem without using a picture as a
> background?
>
> Thanks to all,
> Ahmed El-Daly[/color]

I copied your html & css and experimented with it a bit.

If you change the colors on the body to

background: #042073;
color: white;

and you change the #mainbody to

#mainbody {
position: absolute;
top: 0px;
left: 100px;
padding: .5em;
color:#042073;
background-color: white}

it does what you want in Firefox. It sucks in Explorer, but then, your
online site does, too...

HTH,

Berna

--
( )_( ) Berna M. Bleeker-Slikker
/ . . \ Join Bytes!
\ \@/ / http://www.volksliedjes.nl
aeldaly@gmail.com's Avatar
aeldaly@gmail.com August 15th, 2005 06:45 AM
Guest - n/a Posts
#6: Re: Small css problem

> I copied your html & css and experimented with it a bit.[color=blue]
>
> If you change the colors on the body to
>
> background: #042073;
> color: white;
>
> and you change the #mainbody to
>
> #mainbody {
> position: absolute;
> top: 0px;
> left: 100px;
> padding: .5em;
> color:#042073;
> background-color: white}
>
> it does what you want in Firefox. It sucks in Explorer, but then, your
> online site does, too...
>
> HTH,
>
> Berna[/color]

Thanks Berna,
It does have a side-effect thought. When I scroll now, the part that
hidden is all screwed up. If you go to the site now, you will see what
I mean. I guess it the settings from body override those of mainbody,
although I would have thought it to be the other way round!

 
Not the answer you were looking for? Post your question . . .
196,816 members ready to help you find a solution.
Join Bytes.com

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 196,816 network members.
Post your question now . . .
It's fast and it's free

Popular Articles

Top Community Contributors