zcr7 Posted May 28, 2006 Share Posted May 28, 2006 And I'm getting the hang of it thanks to your site. But, there is one thing I can do. I insert a poll/picture/text html on my site and it defaulty appears in the high left corner. How do I move things to a area? Link to comment Share on other sites More sharing options...
scott100 Posted May 28, 2006 Share Posted May 28, 2006 And I'm getting the hang of it thanks to your site. But, there is one thing I can do. I insert a poll/picture/text html on my site and it defaulty appears in the high left corner. How do I move things to a area?<{POST_SNAPBACK}> Can you post some code or give us a link to your site?You can use css to position elements where you want them: http://www.w3schools.com/css/css_positioning.asp Link to comment Share on other sites More sharing options...
snowboard01 Posted May 28, 2006 Share Posted May 28, 2006 (edited) Are you doing html coding or are you using a build your site here we'll make the html for you things. You can't make a working poll out of Html. Well I suppose you probably capy and pasted which is ok. anyhow jusat put it in a div.heres some html <div id="somthing"><!--poll code--></div> and heres the css #somthing{position:absolute;left: pixels the div is from the lefttop: pixels for how far fromn the top it is} You won't understand all of this and you shouldn't yet. try reading the Css tutorial to learn about itFixed BBcode. Edited May 28, 2006 by Jonas Link to comment Share on other sites More sharing options...
zcr7 Posted May 28, 2006 Author Share Posted May 28, 2006 Well, my site looks a bit weird. I just want to position things. Is there a code? Link to comment Share on other sites More sharing options...
scott100 Posted May 28, 2006 Share Posted May 28, 2006 Well, my site looks a bit weird. I just want to position things. Is there a code?<{POST_SNAPBACK}> Well yeah, if you looked at the page i posted above you would have come across this try it: http://www.w3schools.com/css/tryit.asp?fil...sition_absolute Link to comment Share on other sites More sharing options...
zachary Posted May 29, 2006 Share Posted May 29, 2006 if you want to move around stuff you can use,<div id="" align="ENTER CENTER OR RIGHT OR LEFT ITS UP TO YOU"> . Link to comment Share on other sites More sharing options...
justsomeguy Posted May 29, 2006 Share Posted May 29, 2006 The align attribute has been deprecated and should not be used. Link to comment Share on other sites More sharing options...
Jack McKalling Posted May 29, 2006 Share Posted May 29, 2006 It can be done with the classname refering to stylesheet statements like snowboard01 said, with the use of an inline style attribute, or by the depreciated styling elements/attributes. <div class="common_name_here">something</div>or<div id="unique_name_here">something</div> <div style="positioning things here">something</div> <center>something</center>or<div align="center">something</div> Link to comment Share on other sites More sharing options...
zcr7 Posted June 2, 2006 Author Share Posted June 2, 2006 Ok, which one do I use, the CSS or the HTML? And, what is the "Something"? Link to comment Share on other sites More sharing options...
Jack McKalling Posted June 2, 2006 Share Posted June 2, 2006 (edited) "something" is everything you wish to be centered in this case :)I recommend using the first thing, the stylesheet. But you'd experience your preference after you've done them all, feel free to do what you want :blink:As for the stylesheet, it can be in- or external. Internal means it is defined (written) in the document, and when external it means that the stylesheet has its own document, that is linked, or targeted at, the main document. A stylesheet gives you overall controll of the layout, so you can edit the statements for all elements that have the same style, without editing them all one by one.The inline style means you can apply style to each element individually, but you'd have to edit one by one to have them all changed.The depreciated is self explanatory, :)You should actually not use it, but it may if you want, noone forces you anything Most of the depreciated "presentation elements" are not allowed in strict documents, like HTML 4.1 and XHTML (strict) 1.0+. They would be if you'd use lower versions of the doctype, but that is advanced so don't worry Examples of presentation elements (there are presentation attributes too) are: <b>, <u>, <i>, <s>, <font>, <center> Edited June 2, 2006 by Dan The Prof Link to comment Share on other sites More sharing options...
zcr7 Posted June 2, 2006 Author Share Posted June 2, 2006 I'm so sorry, I'm annoying, so, I want to attempt to do CSS Stylesheet, but, is there a link to learn this stuff, I have a code for a poll, and I want it to be to the right of my website. Link to comment Share on other sites More sharing options...
Jack McKalling Posted June 2, 2006 Share Posted June 2, 2006 (edited) Go and see the CSS tutorial http://www.w3schools.com/css/default.aspAnd to link to such stylesheet, go here:http://www.w3schools.com/tags/tag_link.asp(use <link /> with attribute "rel" with value "stylesheet", also see the example here) Edited June 2, 2006 by Dan The Prof Link to comment Share on other sites More sharing options...
zcr7 Posted June 3, 2006 Author Share Posted June 3, 2006 Thanks Dan! Link to comment Share on other sites More sharing options...
Jack McKalling Posted June 3, 2006 Share Posted June 3, 2006 You're welcome Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now