Need a bit of XHTML / CSS advice [navigation menu] [quot]

admin / October 10th, 2010/ Posted in Software / No Comments »

Q: I give my site a much needed and long awaited redesign and rewrite. Im working for the most part, but I encounter a problem:

newtemplate.php (http://www.electroblog.com:8090/newtemplate.php)

Note the navigational menu on the right. I want to appear at the top of the page, just below the title bar. However, if the text on the left “fills” the column is below that text.

I know that this can be solved with a slide table, but Im replacing the old design is a complicated mess of tables, so I want to pure CSS as possible. Can anyone offer an opinion?

On a related note, notice the page title next to the site name in the title bar. Is it possible to align it to the right of the bar as he lined up with the name of the website text, without using tables?


Best Answer: Hi! I will take your questions one by one if that is OK?

1. As a rough guide base our costing on an average £85 per hour
2. Yes – sites don't need to ultra complex – just need to work well and of course be pleasing to the eye – that's where the design element comes in.
If you do need to jazz your pages up a bit, then I would use javascript. There are plenty of sites that have free scripts – they are great. I would copy as many free scripts that I like and keep them on file – saves you hunting about sites again.
3. No it is not normal practise I hate to say. The only way around it would be to have a site whereby clients can upload their own content directly. However, this is beyond your scope as to create such a site is quite technical and expensive. You can of course give them the option to maintain their own site – not sure how that would go down though!
4. I think 3 has answered that one.

Normally the changes clients want are uploading new pics or text which is no big deal and of course you can make extra dosh from it.

Hope that helped


Re:guy's suggestion worked perfectly. Thanks!

Re:I've done the following minus all the formatting, plus some minor changes to the HTML. See if this works for you.

Re:your page is timing out, but i believe what your problem is from your post is the IE grow bug…

put this at the end of your menu or whatever contains the text:

My text, etc….
<div class=&;spacer1&;></div>

and in your css:
html>body div.spacer1 { /* fix for IE */
font-size: 0px;
margin: 0px;
padding: 0px;
clear: both;
height: 0px;
}


Re:Originally posted by: guy

Note the on the right. I want that to appear at the top of the page, just below the title bar. However, if the text on the left &;fills&; the column, it is pushed down below that text.

I see your main column text wrapping, and your nav bar is still at the top. what do you mean by this?


Re:Originally posted by: guy

On a related note, notice the page title next to the site name in the title bar. Is it possible to align that to the right side of the bar while keeping it aligned with the site name text, without using tables?

float your headerpagename right.

<span class=&;headerpagename&;>Template</span>

span.headerpagename {

float: right;

}


Re:I accidentally pulled the network cable out of the server this morning, should be working correctly now.

Re:I'll try to help once your website stops timing out ;)

Related posts


Tags: ,

Leave a Reply

Name required

Mail (will not be published) required

Website