Help with layout |
Help with layout |
Nov 17 2007, 10:41 AM
Post
#1
|
|
|
Newbie ![]() Group: Member Posts: 4 Joined: Nov 2007 Member No: 591,732 |
Hey everyone, I'd really appreciate your help with something.
I'm trying to work with a div/blog layout... I'm not quite sure what it's called, to be honest. Take a look at http://sprinkle-sparkle.co.uk -- it's one like that. However, I've come upon a problem. It seems that for every new page I need to insert the same CSS/sidebar code. While this is annoying, I'll be able to deal. The trouble, however, is what if I want to add a new page to the sidebar? Does this mean I'll have to update each and every one of my pages? This doesn't seem very likely, because so many people use this kind of layout. Is there any frame targeting such thing as there is in frames and iframes? Also, is there a known CSS shortcut? Thanks so much everyone! <3 By the way, I'm not quite sure if this is in the right category, sorry if I got it wrong.
Reason for edit: Posts Merged - Mike
|
|
|
|
![]() |
Nov 17 2007, 12:54 PM
Post
#2
|
|
![]() Naomi loves you. Y'all may call me NaNa ![]() ![]() ![]() ![]() ![]() ![]() Group: Official Designer Posts: 2,925 Joined: Jun 2006 Member No: 427,774 |
For your CSS. You can insert your CSS in Notpad a save it as blahblah.css. Go to your web host and upload your CSS file there.
Your CSS file should have a URL for it. Insert where it say UrlHere. Use this code CODE <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <link rel="stylesheet" href="UrlHere.css" type="text/css" /> <title>Site title</title> </head> You may replace your DocType to fit your site best. If you're having trouble the Url for your css file then it should look like this: http://www.yourdomain.com/blahblah.css Now you only have to edit one page(which would be your CSS file) for your CSS and every page will change. Once you upload your CSS file, you don't have to upload it anymore. Just log on to your host and update it from there. That would make editing your CSS much easier. Now for every page, you'll just have to update them everytime. Unless you have ifame/frame. But with iframe/frame, everyone browser doesn't work well with iframe/frame, and it makes it hard for someone to bookmark your pages easier. There is a lot of flaws with iframe/frame and you have to know how to use them properly. Anymore Question? Just PM me. Edit//// Oh one more thing...When you place your CSS in you Notpad document. Do not add the tags (i.e <style>, </style>). |
|
|
|
flyawayx Help with layout Nov 17 2007, 10:41 AM
Synesthesia I hope someone else can help you, but I'm just... Nov 17 2007, 11:35 AM
flyawayx Ok, sorry about that! Nov 17 2007, 11:38 AM
flyawayx Thank you! Actually, turns out in this type of... Nov 17 2007, 01:46 PM
freeflow Php includes would make it a lot easier. That way ... Nov 17 2007, 02:40 PM
1angel3 You can take it out. Or just recode it. Can you co... Nov 17 2007, 02:41 PM
aesthetic Go with php. Also are you using any blogging progr... Nov 17 2007, 06:06 PM![]() ![]() |