• 0

CSS Site


Question

Well guys, the site I am about to show you of course is far from finished. It has no content, but the basic template and layout is all coded in XHTML/CSS. I'm quite pleased with myself because I bascially learnt how to code it all in one weekend, and to top it off. It's XHTML Strict :).

http://win-alt.com/testing/csstest.htm

Any comments guys, ways to improve, coding fixes, etc :)

Thanks.

Link to comment
https://www.neowin.net/forum/topic/238659-css-site/
Share on other sites

15 answers to this question

Recommended Posts

  • 0

hehe thanks. One little moan, I've found the opposite to what most say, they say that CSS/XHTML will look the same in all browsers. But it just doesn't, :p, I wasted about 3 hours on different bugs trying to make it look good in all the browsers. That is why a lot of people still use tables, but I'm going to be using CSS/XHTML for the rest of my sites now :)

Edited by Mx
Link to comment
https://www.neowin.net/forum/topic/238659-css-site/#findComment-584843826
Share on other sites

  • 0

A few points about your code,

* Personally I would never use CSS in the actual html file, look into external stylesheets.

* Post 1, Post 2, Post 3 would be a perfect place to use a list.

* You put all text in divs. I would have used <h1>,<h2>,<p>, etc.

Those images on the right don't really work when the window is resized. If you used float: right it would look better IMO.

I think it's a pretty good design but it's a little bland, the only bit of colour you've got are those things you stole from spreadfirefox. :p

Link to comment
https://www.neowin.net/forum/topic/238659-css-site/#findComment-584844159
Share on other sites

  • 0

W3C CSS Validator Results for http://win-alt.com/testing/csstest.htm

To work as intended, your CSS style sheet needs a correct document parse tree. This means you should use valid HTML.

Errors

URI : http://win-alt.com/testing/csstest.htm

* Line: 122 Context : #sidebar

Parse Error - [empty string]

Warnings

URI : http://win-alt.com/testing/csstest.htm

* Line : 122 font-family: You are encouraged to offer a generic family as a last alternative

* Line : 122 Property align doesn't exist for media

Link to comment
https://www.neowin.net/forum/topic/238659-css-site/#findComment-584844362
Share on other sites

  • 0

Consolidation?

This -

/* Links */

a:link

{

text-decoration: none;

color: #505367;

}

a:visited

{

text-decoration: none;

color: #505367;

}

a:hover

{

text-decoration: none;

color: #61647C;

}

a:active

{

text-decoration: none;

color: #505367;

}

Becomes this -

/* Links */

a:link, a:visited, a:active

{

text-decoration: none;

color: #505367;

}

a:hover

{

text-decoration: none;

color: #61647C;

}

Link to comment
https://www.neowin.net/forum/topic/238659-css-site/#findComment-584847705
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • The first stars in the universe may have been much smaller than we thought, new research hints — possibly explaining why it's so hard to find evidence they ever existed. According to the new research, the earliest generation of stars had a difficult history. These stars came to be in a violent environment: inside a huge gas cloud whipping with supersonic-speed turbulence at velocities five times the speed of sound (as measured in Earth's atmosphere). A simulation underpinning the new research also showed gases clustering into lumps and bumps that appeared to herald a coming starbirth. The cloud broke apart, creating pieces from which clusters of stars seemed poised to emerge. One gas cloud eventually settled into the right conditions to form a star eight times the mass of our sun — much smaller than the 100-solar-mass behemoths researchers previously imagined in our early universe. "With the presence of supersonic turbulence, the cloud becomes fragmented into multiple smaller clumps, leading to the formation of several less massive stars instead," principal researcher Ke-Jung Chen, a research fellow at the Academia Sinica Institute of Astronomy and Astrophysics in Taiwan https://www.livescience.com/space/astronomy/scientists-may-finally-know-why-the-first-stars-in-the-universe-left-no-trace  
    • No, it's probably not the de-specialized edition, but Disney could surprise the 'Star Wars' faithful when the rerelease drops in theaters in 2027. It might not be the big anime-style birthday remake some "Star Wars" acolytes were hoping for, but "Star Wars: A New Hope" will be blasting back into movie theaters to celebrate its landmark 50th anniversary starting in April of 2027. The sprawling space opera is set to hit the silver screen again with a special limited-edition theatrical run beginning on April 30, 2027, and aptly running through the official Star Wars Day holiday on May the 4th. This will be the planet-wide event too, so international Star Wars fans won't miss out. There is a sliver of hope for purist fans that perhaps Disney might pull out an untouched archival print — the original version of the sci-fi sensation that first hit theaters on May 25, 1977 — but it's unlikely that Disney would risk upsetting creator George Lucas. Instead, we'd expect a freshened-up 1997 20th anniversary print to be the star attraction. https://www.space.com/entertainment/space-movies-shows/star-wars-a-new-hope-will-return-to-theaters-to-celebrate-its-50th-anniversary-but-disney-didnt-say-which-version  
    • Those are not rights. Those were special treatments that were taken away that non-trans whatever didn't get. They should be treated like every other person, not special. They can still go get their "trans-affirming" care, they just have to pay for it like everyone else.
    • Realistically how many difficult thinking request does the average person needs per week? The simplest 'nonthinking' model is way more powerful than anything we had 18 months ago. While the average person using these things for? I wonder how many games coding apps I've just thrown together for the sake of having fun or testing. I know I've done it. I think we've got to a stage where we just randomly asking ChatGPT anything even if we don't use 95% of what we ask it. These thinking instances do have a cost, environmentally as well as other resources. As we all know the limits will go up, but I don't think it's a bad start.
  • Recent Achievements

    • One Month Later
      Jaclidio hoy earned a badge
      One Month Later
    • Week One Done
      Yawdee earned a badge
      Week One Done
    • Week One Done
      eugwalker earned a badge
      Week One Done
    • First Post
      Ben Gross earned a badge
      First Post
    • One Month Later
      chiptuning earned a badge
      One Month Later
  • Popular Contributors

    1. 1
      +primortal
      640
    2. 2
      +FloatingFatMan
      183
    3. 3
      ATLien_0
      146
    4. 4
      Xenon
      123
    5. 5
      wakjak
      107
  • Tell a friend

    Love Neowin? Tell a friend!