• 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

    • True they were Inspiron models and Dell's SupportAssist has a long history of security vulnerabilities. I also had problems with Dell System Detect and the Dell Software Update utility program. It was all way too much trouble. So I just removed all of them and manually did updates from their website but that was also a pain. Overall, the Inspiron's were decent enough until one became unusable for Windows after a malware attack. I Installed Ubuntu on it and used it with Ubuntu for several months before giving it away.
    • You can now turn 2D images into 3D objects with Copilot's new feature by Taras Buria Copilot Labs, a section with various experimental features in Microsoft's AI assistant, received a new feature called Copilot 3D. With this feature, Copilot lets you transform 2D images into usable 3D objects. Microsoft wants to simplify the process of creating 3D models, giving users a useful tool that has no steep learning curves and does not require installing complicated software. With Copilot 3D, users can transform images into 3D models for later use in game development, animations, 3D printing, design, AR or VR content, art projects, and more. Additionally, users can browse a library of various 3D objects and scenes for inspiration, which sounds awfully familiar to the now-deceased Paint 3D and its content marketplace. Copilot 3D is a one-click solution. All you need is to upload a picture (PNG or JPG, less than 10MB) and wait for Copilot to do its job. Unfortunately, Copilot cannot generate 3D objects from text prompts, at least for now, as Microsoft says in the announcement article. Copilot 3D is available for free globally to a subset of Copilot users, but you need a Microsoft Account to access it from the browser. Once your object is generated, you can download it in GLB format so that you can later modify it in any compatible 3D viewer, editor, or game engine. Microsoft also adds that all creations are stored for 28 days, and the company does not use the uploaded images for model training or personalization. In case you missed it, Microsoft recently introduced another Copilot Labs feature, which gives the assistant a physical appearance with physical expressions and emotions for a more natural conversation in Voice Mode. Also, Microsoft launched Gaming Copilot in Game Bar so that AI can see what is going on on the screen and give you tips, suggestions, and other useful information.
    • Shou Zi Chew was Xiaomi's CFO for five years and was with them when they were blacklisted by the first Trump administration. Xiaomi was subsequently removed from the blacklist by the Biden administration. Sen. Cotton was also a Senator when Xiaomi was blacklisted though I don't recall if he was influential in bringing about the blacklisting.
  • 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
      631
    2. 2
      +FloatingFatMan
      173
    3. 3
      ATLien_0
      139
    4. 4
      Xenon
      118
    5. 5
      wakjak
      108
  • Tell a friend

    Love Neowin? Tell a friend!