- This topic is empty.
July 17, 2013 at 12:11 pm #46479knowledgenotebookParticipant
First, let me thank you all for being so helpful.
And your help leads to the following page,
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 thetag, but I resist this temptation because SEO depends on it.
Many thanks.July 17, 2013 at 12:14 pm #143364
>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.July 17, 2013 at 12:17 pm #143365
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.July 17, 2013 at 1:06 pm #143379
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?July 17, 2013 at 2:19 pm #143387
Without comparing the page with and without that stylesheet I can’t tell what is needed and what isn’t.July 18, 2013 at 11:14 am #143457
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?
July 18, 2013 at 11:33 am #143440SubashMember
@knowledgenotebook. It seems you are linking the envato stylesheet just to normalize things. I suggest you to use normalize.css instead.July 18, 2013 at 11:35 am #143441
>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.July 18, 2013 at 11:38 am #143442
You need to pick a width.
Personally, I would remove this:
width: 800px;July 18, 2013 at 11:51 am #143444
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.July 18, 2013 at 2:56 pm #143514chrisburtonParticipant
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.July 18, 2013 at 4:08 pm #143526jurotekParticipant
Enough boys!July 18, 2013 at 4:39 pm #143533chrisburtonParticipant
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
- The forum ‘CSS’ is closed to new topics and replies.