Hey guys.
I was installing Orizon template, and i find header navigation menu on this template very strange, i think author using lot’s of unused code.
Orizon <!I just wondering if it will be correct and right, if i will remove all ‘ul’ ‘li’ tags, and will make menu with ‘a’ and divs only.
Why i need to use this code:
<div id="header">
<a href="index.html" id="logo">Orizon</a> <!-- Add a image to the style or remove the text-indent to display the text -->
<ul id="nav">
<li class="active"><a href="index.html">Home</a></li>
<li><a href="blog.html">Blog</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="about.html">About</a>
</li></ul> <!-- nav -->
</div> <!-- header -->
When i can use lesser code with less css:
<div id="header">
<a href="index.html" id="logo">Orizon</a>
<a href="index.html" class="active">Home</a>
<a href="blog.html">Blog</a>
<a href="portfolio.html">Portfolio</a>
<a href="about.html">About</a>
</div>
See ‘Poor List Mark-up’ section - http://wiki.envato.com/selling/selling-rejections/themeforest-common-rejection-factors/
The author did everything right.
I just wondering if it will be correct and right, if i will remove all ‘ul’ ‘li’ tags, and will make menu with ‘a’ and divs only.
Oh… “div based” coding… 
Author’s code is grand, you can of coarse ‘correct’ it if you want 
I just wondering if it will be correct and right, if i will remove all ‘ul’ ‘li’ tags, and will make menu with ‘a’ and divs only.Oh… “div based” coding…![]()
Nah, i’m not a divitis
http://csscreator.com/divitis
I’m just trying to learn methods of building a web sites with as less code as it’s possible, and would like to know if it’s normal, I’d like to make sites, to load very fast, and i think less code, it’s a little step forward for fast loading and optimization…
Menus build with unordered lists are a semantic standard. Everybody uses them like this – Orizon has no problems in the nav, it’s well written.
You can of course rebuild it with whatever you like and maybe save 0.000001 seconds on page load 
if your worried about site loading time check this out it may help here
- Bought between 1 and 9 items
- Bulgaria
- Exclusive Author
- Has been a member for 3-4 years
- Referred between 1 and 9 users
- Sold between 5 000 and 10 000 dollars
LOL
Let’s do some common sense thinking:
How to find a website that shows good load optimization practices? – I should think of a website with a lot of traffic.
A website with a lot of traffic? – Twitter
What do they use for their navigaiton? – UL
Should I use UL too? – Yes!
- Envato Staff
- Sold between 100 000 and 250 000 dollars
- Support Staff
- United States
- Author had a Free File of the Month
- Microlancer Beta Tester
- Beta Tester
- Interviewed on the Envato Notes blog
LOLLet’s do some common sense thinking:
How to find a website that shows good load optimization practices? – I should think of a website with a lot of traffic.
A website with a lot of traffic? – Twitter
What do they use for their navigaiton? – UL
Should I use UL too? – Yes!
+1
- Bought between 10 and 49 items
- Denmark
- Exclusive Author
- Has been a member for 3-4 years
- Microlancer Beta Tester
So using as little code as possible should be rule number 1 or what. That is just silly.
