As I mentioned yesterday, I spent a hellofalotta time on my mac, which I've realised is definitely dying a slow death, playing around with HTML to make a new site (this one!) to see how much I could do by myself. 
So, let's talk about positioning an object/widget/text ABSOLUTE! Don't get scared now, it's actually quite simple despite me spending almost 2 hours figuring it out! 
What is it called: Absolute positioning 
What is it for: Positioning a object/widget/text anywhere on the web page regardless of other objects etc. It might as well be called 'Absolute power'
So, when asking on a web design forum about what I should do to move a widget containing an image of my face with a speech bubble, and some social icons, on top of the main body content element (where the posts are), I was told that absolute positioning was the key. 
In exact words: "Well you might want to try absolute positioning, position: absolute; top: __ px; left __px; etc" 
I did a little snooping around in my HTML file and realised that I'd have to figure it out myself because the CSS wasn't working (aka I couldn't work it). So since I'm working with the new type of HTML, and on Blogger, this is what I did: 
1. I found this code, which identifies the widget (containing picture) that I wanted to move. According to the 'Layout' tab, it's called 'HTML1'. 
2. I then scrolled up from this coding in the div area and came to some different-looking coding under the   <



 



 

No comments:
Post a Comment