Another question (is that shouts of joy I hear in the background? ), aimed at anyone who knows the answer, but I suspect Harry will probably be that one.
I'm creating a personal blog, generally because I can and fancy doing so. I've got a first design ready and I'm happy enough with it to start building it and get it online.
However, I'm looking to implement sidenotes. I've had a look at how Harry has done it (on Web Design+) as I remember he did something similar and he's gone with having them in the same div, but moving them to the left with absolute positioning.
Is that the best way to do it? I'm assuming so as Harry has done it but I thought I best check, afterall I might learn something.
I guess the reasoning behind that method is for screen readers, so that sidenotes will be read and then the content.
Yeah, you need to write the code in the order it should be read. You could have a sidebar div placing it next to it visually, but that's not correct from a logical point of view. Absolute positioning. Look at lines 202 and 208 of my CSS.
That's what I've got currently, not sure why it doesn't work as planned but I'll look into it.
EDIT: Hmm, it looks like I need a mixture of position:absolute and position:relative. I need it to be relative to it's current position but still make the paragraphs around it ignore it, so that they format as per usual and close up the gap left by moving this paragraph left..
Nope. That's an example of a bad reset. You don't want to remove margins and padding from everything. Imagine removing all the margins from radio buttons…
It also puts unnecessary strain on the UA, making it apply additional CSS to every single element on a page.
Still haven't got this sorted as I've been doing other things, will look at it later
A different problem currently though, not sure if any of you will know the answer mind.
I'm trying to burn our RSS Feed with Feedburner.
It keeps coming up with the error that it's either larger than 512kb (certainly not) or that it's not valid, or finally that it's not the right URL, which I'm sure it is as when you go to the feed manually it works..
Another quick question, I could write a book with these.
I'm validating the contact page of the site and it says I should specify how many rows and columns I want for the textareas.
I don't really want to specify as we're not looking to limit them, is there a way to put something like rows="any" (in a more technical way) to get past this?
Yeah I was assuming he was gonna use CSS to control width and height. I'm amazed rows/cols still exist as attributes—they're pretty presentational IMO.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.