Reply
 
Thread Tools
Old 03-07-2013, 08:04 PM   #1   [permalink]
Complete
Junior Member
 
Complete's Avatar
 
Join Date: 24 Dec 2005
Posts: 5
Css html

Hello forum. I have inherited a project. It uses CSS to format the body of the web page.

Its appearance needs reworking. Right now it looks like a bock plopped in the middle of the browser window. I want it to have nice borders and a header going across the top and the bottom.

Here is what it looks like now:


Here is what I would like it to look like:


I am not as experienced with CSS as I would like to be. But I was able to dig into the code and find where the html was formatted. I am writing this post now because I would prefer if this design was on a table rather than on the entire HTML page.

The CSS element "html" is defined ni a "main.css" file like this:

html{background-color:#eee;padding:0px;overflow:auto;height:100%;}html body,html form{background-image:url('../images/body-background.gif');
width:1200px;margin:0px auto;box-shadow:0 0 15px 15px #bbbbbb;padding:0px;}
the image
../images/body-background.gif
is not the background of the whitespace on the right and left. This gif file is the background of the block in the middle.

So, how do I make this declaration a table declaration instead of a declaration and format for the entire page? And once this change has been made, what sort of corresponding code changes do I need to do in other code files?
Complete is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML: Creating a Poll AnkaraStark HTML, PHP, MySQL, Graphics, Coding 4 18-01-2010 11:53 PM
I cannot use html Sigurd Fatima Contact Admin Archive 3 21-01-2003 12:31 AM
AB html gone? orochi X Contact Admin Archive 2 27-01-2002 02:07 AM
HTML Background image tags. Instrumentality Software Apps 9 03-05-2001 10:00 PM


New To Site? Need Help?

All times are GMT -4. The time now is 02:41 PM.


Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2018, vBulletin Solutions, Inc.