Please check my site

This is a discussion on "Please check my site" within the Web Page Design section. This forum, and the thread "Please check my site are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Nov 2nd, 2007, 10:40
New Member
Join Date: Nov 2007
Location: Near you
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Please check my site

Hi there,

I have decided to get back into web development and I am very rusty and CSS is all new to me.

I have been asked to knock up a basic site for the company where my g/f works.

http://framemill.000webhost.info

I have only spent a couple of hours on it, I did not create the CSS file myself, instead I took my brother in laws and modified it to get what I wanted.

I would be very grateful if someone could have a look over it and suggest anything I should redo or go off and read up on

I am fully prepared to be called stupid so don't hold back.

I was unsure how to separate the 5 links so i created 5 div's and put one link in each. It looks how i want it to look but i need to know whether its working correctly underneath.

The site is still being worked on btw.

Last edited by MNuTz; Nov 2nd, 2007 at 10:43.
Reply With Quote

  #2 (permalink)  
Old Nov 2nd, 2007, 12:15
Phixon's Avatar
SuperMember

SuperMember
Join Date: Mar 2007
Location: UK
Age: 21
Posts: 83
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Please check my site

What I would consider the correct way to do the links is in the form of an unordered list, styled with css, its neat, easily updateable and plenty of style options. Here is a tutorial http://www.456bereastreet.com/archiv...avigation_bar/
Reply With Quote
  #3 (permalink)  
Old Nov 4th, 2007, 05:08
New Member
Join Date: Nov 2007
Location: Near you
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Please check my site

Thanks for link, i have used the example to create a test page on my PC. It looks good but i have one problem:

All the links sit to the left of the bar, i would prefer them to each be spaced equally across the menu bar as in the link on the first post.

I have tried changing "float:left;" but that just messes it up. I really dont want to have to start minutely adjusting margins to get the effect i am after.


Code: Select all
#nav { margin:0; padding:0; background:#324d9e; width:100%; float:left; border:1px solid #22356a; border-width:1px 0; } #nav li { display:inline; margin:0; padding:0; } #nav { margin:0; padding:0; } #nav li { display:inline; margin:0; padding:0; } #nav a:link, #nav a:visited { color:white; background:#324d9e; padding:5px 20px 4px 20px; float:left; width:auto; border-right:1px solid #22356a; text-decoration:none; font:bold 1em/1em Arial, Helvetica, sans-serif; text-transformed:uppercase; text-shadow:2px 2px 2px #555; } #nav li:first-child a { border-left:1px solid #22356a; } #nav a:hover { colour:#fff; background:#a0a0a0; }
thats the CSS the tuorial uses, having a play with it but i just can not figure it out.
Reply With Quote
  #4 (permalink)  
Old Nov 4th, 2007, 20:13
AdRock's Avatar
SuperMember

SuperMember
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Please check my site

Could you not have some margin and padding for each of the list items as well as floating them left?

Also you have duplicated some of your code.

Try changing this
Code: Select all
#nav li {
    display:inline;
    margin:0;    
    padding:0;
}
to
Code: Select all
#nav li {
   float: left;
   margin-left:80px;
}
Reply With Quote
  #5 (permalink)  
Old Nov 5th, 2007, 04:46
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 27
Posts: 1,608
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Re: Please check my site

Here is a complete example I got from my website:

Code: Select all
<style type="text/css">
#navlinks {
    margin: 0 auto; /*center your menu div*/
    padding: 0.5em 0em;
    width: 700px; /*set your menu div width*/
    border: 1px solid red;
    text-align: center; /*Center your links in the center of the div*/
}
#navlinks li {
    display: inline;
    margin-right: 0.4em;
    padding-left: 0.75em;
    border-left: 1px solid #99C;
    font-weight: bold; 
    color: #99C;
}
#navlinks li.last {
    border-right: 0;
}
#navlinks li.first {
    border-left: 0;
}
}
</style>
and in your body:

Code: Select all
<div class="links"> /*just put this "navlink" in your existing "links "div*/
    <ol id="navlinks">
        <li class="first"><a href="#">Link 1</a></li>
        <li><a href="#">Link 2</a></li>
        <li><a href="#">Link 3</a></li>
        <li><a href="#">Link 4</a></li>
        <li><a href="#">Link 5</a></li>
        <li><a href="#">Link 6</a></li>
        <li><a href="#">Link 7</a></li>
        <li class="last"><a href="#">Link 8</a></li>
    </ol>
</div>
Last Blog Entry: ASP Programming Tips and Technique (Oct 26th, 2007)
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Please check out my site prevail Free Web Site Critique 3 Jun 10th, 2008 00:34
Check out my site coldy Free Web Site Critique 2 Apr 24th, 2008 11:39
Check out this Web site, please! phoon Free Web Site Critique 4 Apr 10th, 2008 14:03
Check Site csa Web Page Design 4 Jun 30th, 2006 08:46
Please check site csa Web Page Design 3 Mar 23rd, 2006 09:27


All times are GMT. The time now is 20:05.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43