Jump to content
  • 0

Website Questions.


Sharpienero

Question


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   28
  • Joined:  01/16/12
  • Last Seen:  

I have a few questions regarding the creation of a website.

I'm using Adobe Dreamweaver CS6, and I was just wondering the following:

What is the best type of "format" to use "HTML/CSS/PHP"?

How do you center a webpage? [Like any other website]

How do you place and image so that whenever the resolution changes, they stay center? [Fixed/Relative/Etc]

Please keep in mind that I've tried effortlessly in Dreamweaver to figure this out. I've watched tutorials, tried trial and error, and I'm pretty much just mind boggled at this point.

Brief or detailed explanations would help.

I have accomplished centering a website using CSS styles, but maybe if someone could explain it to me, I could get it without having to watch a video.

Thank you in advance, Sharpienero.

If you want me to post the code, just ask.

Edited by Sharpienero
Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  4
  • Topics Per Day:  0.00
  • Content Count:  185
  • Reputation:   26
  • Joined:  12/07/11
  • Last Seen:  

What is the best type of "format" to use "HTML/CSS/PHP"?

it depends, if i have php tags php format should be use.

How do you center a webpage? [Like any other website]

just a simple margin: 0 auto; width: 1024px; height: 768px;

and you cannot just set the margins to auto without specifying the width of the block.

The method above is the standard technique for centering a DIV block using standards-compliant CSS. With this, you can center your blocks without using deprecated HTML tags like <center>.

How do you place and image so that whenever the resolution changes, they stay center? [Fixed/Relative/Etc]

same above.. margin: 0 auto; width: 1024px; height: 768px;

  • Upvote 2
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  32
  • Topics Per Day:  0.01
  • Content Count:  386
  • Reputation:   28
  • Joined:  01/16/12
  • Last Seen:  

What is the best type of "format" to use "HTML/CSS/PHP"?

it depends, if i have php tags php format should be use.

How do you center a webpage? [Like any other website]

just a simple margin: 0 auto; width: 1024px; height: 768px;

and you cannot just set the margins to auto without specifying the width of the block.

The method above is the standard technique for centering a DIV block using standards-compliant CSS. With this, you can center your blocks without using deprecated HTML tags like <center>.

How do you place and image so that whenever the resolution changes, they stay center? [Fixed/Relative/Etc]

same above.. margin: 0 auto; width: 1024px; height: 768px;

For the last thing, I meant for buttons. Would it be the same?

Link to comment
Share on other sites

×
×
  • Create New...