• 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

    • Trump is a low-class guy who thinks painting everything in gold makes him look fancy.
    • Don't forget second season pass, that's not part of the superdeluxe edition.
    • Forza Motorsport gets IndyCar, Career mode improvements, and more by Taras Buria Turn 10 Studios announced the next Forza Motorsport update, which includes new content and various game improvements. Update 21 follows the previous Anniversary Update and adds IndyCar, a free expansion for Career mode, Featured Tours, new reward cars, and more. IndyCar is back in the game, allowing you to get behind the wheel of the latest-generation open-wheel racing cars. New vehicles include the 2025 Chevrolet IndyCar and the 2025 Honda IndyCar. There is also the all-new IndyCar Series in Featured Multiplayer. Career mode now has the Champions Cup, a new home for racecar-focused tours in single-player racing. There, you can drive a variety of modern and classic racecars from one-make series to endurance legends. Completing the Champions Cup will give you various high-reward cars like the 1979 BMW #6 BMW Motorsport M1 Procar, the 1998 Nissan #23 Pennzoil NISMO Skyline GT-R, the 2014 Dodge #93 SRT Motorsports Viper GTS-R, and more. Developers also adjusted the in-game pricing for most racecars to make the Champions Cup more accessible. Another change in Update 21 is the return of previous Featured Tours. The game will feature an additional Tour every month, allowing you to earn some of the previous reward cars and participate in the now-ended events. Here is a brief overview of other changes and improvements: Featured Multiplayer has been reorganized, incorporating player feedback, with the goal of providing players with even more event variety. Click here for a rundown of these changes. We’ve implemented BoP Spec changes to the Forza GT2, Forza GT3, Forza Touring Car, and Forza Proto-H divisions with help from participants in the Forza Insiders Program. See the release notes for an overview of the adjustments that have been made. The Challenge Hub menu has been reorganized to more effectively communicate where rewards can be earned as well as the type of rewards available to unlock. We’ve fixed an issue for players using the Fanatec DD2 racing wheel that would assign the peripheral an incorrect mapping profile. All Builders Cup Tours are now immediately unlocked, which means you no longer need to complete the Modern Tour to access the 3 other Builders Cup Tours. In addition, select Builders Cup Series have been updated to feature additional eligible cars and post-launch tracks. A detailed overview of these changes has been included in the release notes. There are also numerous fixes to AI behavior and competitiveness in single-player racing. You can read more about Forza Motorsport Update 21 in a post on the official Forza website.
    • If it ever gets to a reasonable level of parity, I think more real competition in the Windows space would be a good thing. What I like about this is that it's not just another reskinned Linux distro (with all of those inherent problems). It's meant to literally boot and work like Windows NT+. That could be an interesting development one day -- note that this has been in development since 1996, btw.
    • I simply don't get why this "OS" exists. Who cares? Great, you can now run a Windows 95-era stupid game, super cool...
  • Recent Achievements

    • Explorer
      treker_ed went up a rank
      Explorer
    • Apprentice
      CHUNWEI went up a rank
      Apprentice
    • Veteran
      1337ish went up a rank
      Veteran
    • Rookie
      john.al went up a rank
      Rookie
    • Week One Done
      patrickft456 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      639
    2. 2
      ATLien_0
      273
    3. 3
      +FloatingFatMan
      172
    4. 4
      Michael Scrip
      155
    5. 5
      Steven P.
      140
  • Tell a friend

    Love Neowin? Tell a friend!