Current location: Hot Scripts Forums » General Web Coding » CSS » css page layout questions from n00b


css page layout questions from n00b

Reply
  #1 (permalink)  
Old 06-25-08, 11:25 AM
outhowz42 outhowz42 is offline
Newbie Coder
 
Join Date: Jun 2008
Location: USA
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
css page layout questions from n00b

Please have a look at this site I am playing around with to try to learn CSS.

www.sportsloon.com

I created the page layout using all div tags. There are a few problems I am not sure how to fix. First off, when I view it in IE 6, I see the footer twice for some reason and I have no idea why.

Next, if you do a search for say "redsox", it takes you to the search page and the #bodymiddle grows to fit the search results. How can I make the #bodyleft and #bodyright grow to match the size of the #bodymiddle.

These two questions may be more of dreamweaver cs3 questions.

1. How do I get the css into a separate file. If you view the page source for this page, all of the css is shown. I want to put it in its own file.

2. I am using a template (where the header, navbar, and footer are repeating regions, the body left, middle, and right are editable). When I go to the search page and try to change the css for the #bodymiddle to text-align: center;, it will not let me because it is locked. I don't want to change the css for the template b/c on the homepage I want the text-align for the bodymiddle to be left.

....sorry for all the trouble, like I said I'm a n00b and would appreciate any help on any of these questions very much!!!! THANKS!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 06-27-08, 09:44 AM
outhowz42 outhowz42 is offline
Newbie Coder
 
Join Date: Jun 2008
Location: USA
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
Please Help

...even any general advice would be good. Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 06-30-08, 12:39 PM
outhowz42 outhowz42 is offline
Newbie Coder
 
Join Date: Jun 2008
Location: USA
Posts: 25
Thanks: 0
Thanked 0 Times in 0 Posts
this forum sucks

guess I'll have to post this somewhere else to get help. Bye
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 07-04-08, 07:55 AM
D3C D3C is offline
Newbie Coder
 
Join Date: Jul 2008
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
To put the css in its own file just copy the css code into its own file name styles.css and in your html code, in the head section write

Code:
<link href="styles.css" rel="stylesheet" type="text/css">
Make sure the files are in the same directory.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #5 (permalink)  
Old 07-06-08, 10:49 AM
xEX3CUT1ONx xEX3CUT1ONx is offline
Wannabe Coder
 
Join Date: Jun 2008
Posts: 116
Thanks: 2
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by outhowz42 View Post

2. I am using a template (where the header, navbar, and footer are repeating regions, the body left, middle, and right are editable). When I go to the search page and try to change the css for the #bodymiddle to text-align: center;, it will not let me because it is locked. I don't want to change the css for the template b/c on the homepage I want the text-align for the bodymiddle to be left.
Create different Stylesheets then use

<link rel="stylesheet" type="text/css" href="CSSHERE.css" /> put that in the head for the html document.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
centering an absolutely positioned div? vbsaltydog CSS 8 11-19-06 02:17 PM
3 Column CSS Fluid Layout (IE 6 Problem) Heidenreich12 CSS 9 10-04-06 04:22 PM
Classified Ads skipper23 Perl 3 11-22-05 03:22 AM
Classified Ads skipper23 Perl 2 12-30-03 04:43 AM
Inserting PHP forum inside layout page xeoh PHP 1 12-18-03 07:34 PM


All times are GMT -5. The time now is 07:12 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.