Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Learning CSS one step a time… (I have a question)

  • This topic is empty.
Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #46479
    knowledgenotebook
    Participant

    Hi all,

    First, let me thank you all for being so helpful.

    And your help leads to the following page,
    http://www.knowledgenotebook.com/index5.html

    It’s almost what I want it to be.

    Now, I’m seeking efficiency. That is, currently, it uses 2 CSS files, the primary one is main_new5.css, and the other one is biggish, style2.css, my intent is to copy what is needed from the style2.css to the main_new5.css file and then remove style2.css.

    One advice is, to comment out the tag, but I resist this temptation because SEO depends on it.

    Thoughts?

    Many thanks.

    #143364
    Paulie_D
    Member

    >One advice is, to comment out the tag, but I resist this temptation **because SEO depends on it.**

    Doubtful….could you explain how?

    If you think it’s really essential, copy the whole text of the Style2.css file and paste it into the main css file (either at the top or bottom).

    Then remove the link to style2.css completely.

    You may run into some specificity issues though.

    #143365
    Paulie_D
    Member

    On looking at the style2.css there is a whole bunch of **envato** sprite linking etc.

    Are you actually using those?

    That’s why I suggested commenting out the link to style2.css and see what happens.

    http://learn.shayhowe.com/html-css/

    #143379
    Paulie_D
    Member

    If you look at the file in an editor you can see a whole bunch of links to bg images (sprites) which link to an envato site.

    Did you buy a theme and not use it?

    #143387
    Paulie_D
    Member

    Without comparing the page with and without that stylesheet I can’t tell what is needed and what isn’t.

    #143457
    Paulie_D
    Member

    Why do you still have inline styles?

    You really need to extract these into a stylesheet…NOW!

    You have a div with an ID of #content which immediately has a child element div with an ID of #main. Is there a reason for this?

    <- why?
    <---what the heck is this?
    #143440
    Subash
    Member

    @knowledgenotebook. It seems you are linking the envato stylesheet just to normalize things. I suggest you to use normalize.css instead.

    #143441
    Paulie_D
    Member

    >It seems you are linking the envato stylesheet just to normalize things. I suggest you to use normalize.css instead.


    @Subash
    No, he’s not doing that any more…it’s commented out.

    #143442
    Paulie_D
    Member

    Oh…and @knowledgenotebook

    You need to pick a width.

    Personally, I would remove this:

    .wrap {
    width: 800px;

    #143444
    Paulie_D
    Member

    I’m still seeing the div with the ID of #main.

    My question is…what is the purpose of this div since you already have a div with an ID of ‘#content?

    I mean there is not basic harm but I just wondered since it’s bloating your HTML.

    I think it’s been mentioned before but I really would recommend stopping this piecemeal process of trying to fix items one at a time.

    To be brutally honest, it’s clear that you don’t have the requisite skills or basic understanding of the basics of HTML & CSS to do this yourself. At the moment you’re inching your way towards a basic design that isn’t exactly that fantastic to start with.

    Pay someone a few buck to do redesign and make it for you. You’ll save a whole lot of time and hassle.

    #143514
    chrisburton
    Participant

    Haha, wow. Please don’t insult others.

    I think I have to agree about your lack of knowledge with CSS. If you had a specific question, that would be great. Instead you’re asking others to weed out your CSS.

    #143526
    jurotek
    Participant

    Enough boys!

    #143533
    chrisburton
    Participant

    I absolutely hate CSS. For me, it’s the worst part of doing front-end work. Gladly Sass makes it fun again.

    Anyway, I recommend http://dontfeartheinternet.com

Viewing 13 posts - 1 through 13 (of 13 total)
  • The forum ‘CSS’ is closed to new topics and replies.