Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

CSS Forum


You are currently viewing our CSS Forum as a guest. Please register to participate.
Login



Reply
Help me align this website
Old 04-15-2006, 07:46 PM Help me align this website
RNPoo7's Avatar
Extreme Talker

Posts: 238
Trades: 0
Hey guys,
I am using a css style sheet in the website

There is a normal scroll bar on the right side of the screen, but there is also a another one in the middle that ends the website.

My question is, how do get rid of the extra tool bar and use the normal (default) one on the right?

Here's the style sheet I'm currently using

.contact
{
font-size: 10pt;
font: Arial, Verdana, Helvetica, sans-serif;
font-family: Arial, Helvetica, sans-serif;
background: #FFCC99;
border-width: 1;
border-style: solid;
border-color: black;
}

.div
{


font: Arial, Verdana, Helvetica, sans-serif;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
background-attachment: fixed;
padding-left:5px;
padding-right:3px;


}

body {
background: #FFCC99;
margin-top: 0px;
margin-left: 0px;
margin-right: 0px;
scrollbar-face-color: #ffffff;
scrollbar-shadow-color: #73062A;
scrollbar-highlight-color: #73062A;
scrollbar-3dlight-color: #73062A;
scrollbar-darkshadow-color: #73062A;
scrollbar-base-color: #73062A;
scrollbar-arrow-color: #73062A
}

p
{
font-family: arial, verdana;
font-size: 10pt;
color:#000000;
}

a {
color: #660000;
text-decoration: none;
font-weight: bold;
border-width: 0;
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
border-color: #000000;
}



ttp://people.clemson.edu/~priyad/Test

If you click on the "services" page, you will see what I'm talking about.

Thanks
RNPoo7 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-15-2006, 11:15 PM Re: Help me align this website
RNPoo7's Avatar
Extreme Talker

Posts: 238
Trades: 0
Anyone? Nobody ever responds to my threads, am I doing something??
RNPoo7 is offline
Reply With Quote
View Public Profile
 
Old 04-16-2006, 02:47 AM Re: Help me align this website
blue-dreamer's Avatar
King Spam Talker

Posts: 1,222
Location: Middle England
Trades: 0
try taking out the <div> with the overflow style - this will make the content appear on a normal page
blue-dreamer is offline
Reply With Quote
View Public Profile
 
Old 04-16-2006, 02:51 AM Re: Help me align this website
RNPoo7's Avatar
Extreme Talker

Posts: 238
Trades: 0
Thanks, I figuered it out a few mins ago.

I had to put <center> and then </center> in the index page.

Thanks though
RNPoo7 is offline
Reply With Quote
View Public Profile
 
Old 04-16-2006, 11:46 AM Re: Help me align this website
Experienced Talker

Posts: 43
Trades: 0
Instead of using <center>, replace margin-left & right under body in the CSS with this:

margin-left: auto;
margin-right: auto;
width: (insert specified width of site here)

That will place it in the center of the site without using <center>-tag, wich is actually overdue according to XHTML (Strict).

(Actually you shouldn't use tables either for the layout, but I won't trouble you with that now).
__________________
Thou shall NOT use frames
Thou shall not use tables for anything but list data
Thou shall love and honor the great powers of XHTML and CSS
Twinrehz is offline
Reply With Quote
View Public Profile
 
Old 04-16-2006, 05:38 PM Re: Help me align this website
RNPoo7's Avatar
Extreme Talker

Posts: 238
Trades: 0
Quote:
Originally Posted by Twinrehz
Instead of using <center>, replace margin-left & right under body in the CSS with this:

margin-left: auto;
margin-right: auto;
width: (insert specified width of site here)

That will place it in the center of the site without using <center>-tag, wich is actually overdue according to XHTML (Strict).

(Actually you shouldn't use tables either for the layout, but I won't trouble you with that now).
Yeah i'll go ahead and change it to your method. More clean that way.

As far as the table layout, yeah i know -shruggs- lol but i'm a noobie.
Maybe if i can gain enough knowledge to do a tableless layout in the near future.

Thanks for the help
RNPoo7 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Help me align this website
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.44268 seconds with 12 queries