nikitadoroshenko
nikitadoroshenko Recent Posts
Threads Started
35 posts
  • Bought between 50 and 99 items
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
nikitadoroshenko says

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 <!- Add a image to the style or remove the text-indent to display the text -> <!- nav -> <!- header ->

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>
83 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 10 and 49 users
  • Sold between 10 000 and 50 000 dollars
Cepreu says

See ‘Poor List Mark-up’ section - http://wiki.envato.com/selling/selling-rejections/themeforest-common-rejection-factors/

The author did everything right.

64 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
  • Sold between 5 000 and 10 000 dollars
Biggish says
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… :)

962 posts
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Ireland
  • Sold between 10 000 and 50 000 dollars
EireStudio says

Author’s code is grand, you can of coarse ‘correct’ it if you want :|

nikitadoroshenko
nikitadoroshenko Recent Posts
Threads Started
35 posts
  • Bought between 50 and 99 items
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
nikitadoroshenko says
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…

2429 posts
  • Has been a member for 4-5 years
  • Exclusive Author
  • Europe
  • Bought between 10 and 49 items
  • Referred between 100 and 199 users
  • Sold between 100 and 1 000 dollars
  • Microlancer Beta Tester
digitalimpact says

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 :)

3122 posts
  • Sold between 5 000 and 10 000 dollars
  • United States
  • Bought between 10 and 49 items
  • Has been a member for 3-4 years
  • Exclusive Author
chrisakelley says

if your worried about site loading time check this out it may help here

1733 posts
  • Exclusive Author
  • Won a Competition
  • Sold between 5 000 and 10 000 dollars
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Bought between 1 and 9 items
VisualSharing says

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!

1948 posts Do the Needful
  • Envato Staff
  • Elite Author
  • Sold between 100 000 and 250 000 dollars
  • Has been a member for 3-4 years
  • United States
  • Support Staff
  • Author had a Free File of the Month
  • Microlancer Beta Tester
  • Contributed a Blog Post
+7 more
JamiGibbs Staff says
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!

+1

367 posts
  • Bought between 10 and 49 items
  • Denmark
  • Exclusive Author
  • Has been a member for 4-5 years
  • Microlancer Beta Tester
UI20 says

So using as little code as possible should be rule number 1 or what. That is just silly.

by
by
by
by
by
by