Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
altarboys #1
centering all -aand creating layout
please help i was looking at various web sites and wonder how you would do
smothing like these......
<ul>
<a href="http://mapquest.com>map Quest</a>
<a href="http://simplebits.com>Simple bits</a>
</ul>
please help
altarboys Guest
-
Creating a scalable layout
Hello. I'm trying to achieve something that should be simple but seems not to be, and please don't suggest I use a frames layout (even though... -
Pub 2002 Web Layout - Alignment / Centering / Sizing / Adjustment
"BYW" <BYW@discussions.microsoft.com> wrote in message news:0997DE16-40F4-4B6E-ACCE-9B846FFBADE2@microsoft.com... major website. when I preview or... -
Centering
In Publisher 2000, centering a title or headline between text that is full justified or left justified results in a bunch of extra space above and... -
centering movie
Hello! ive exported my movie in flash as a swf and a html.... when i view the html its not centred so i added some .css code to it to try and... -
centering web page
I am trying to make my web page look centered in the browser screen, and have tried inserting the <center> tag after the <body> tag, as per Mr... -
Murray *TMM* #2
Re: centering all -aand creating layout
<ul>
<li><a href="http://mapquest.com>map Quest</a></li>
<li><a href="http://simplebits.com>Simple bits</a></li>
</ul>
Or is that not your question?
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"altarboys" <webforumsuser@macromedia.com> wrote in message
news:dapat7$kt9$1@forums.macromedia.com...> please help i was looking at various web sites and wonder how you would do
> smothing like these......
> <ul>
> <a href="http://mapquest.com>map Quest</a>
> <a href="http://simplebits.com>Simple bits</a>
> </ul>
> please help
>
Murray *TMM* Guest
-
altarboys #3
Re: centering all -aand creating layout
noo thats not my question ..... my question is how you center all the content on the page like those above and how you create a layout like those above
altarboys Guest
-
Murray *TMM* #4
Re: centering all -aand creating layout
Like those above? Like what above?
Remember there are lots of us that are not posting from the webforum like
you are.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"altarboys" <webforumsuser@macromedia.com> wrote in message
news:dape2p$p1g$1@forums.macromedia.com...> noo thats not my question ..... my question is how you center all the
> content on the page like those above and how you create a layout like
> those above
Murray *TMM* Guest
-
altarboys #5
Re: centering all -aand creating layout
sorry about that but it explains it in the message above yours <murray *TMM*>
all i want to do is to have the whole page centered and have smothin like
borders on the sides but not on the top like in simple bits(listed above twice)
would it be a layout?
altarboys Guest
-
Murray *TMM* #6
Re: centering all -aand creating layout
Assuming you are not using positioning, you can center an entire page like
this (inline CSS shown for simplicity and clarity) -
<body style="text-align:center">
<div id="wrapper" style="width:760px; margin:0 auto; text-align:left;">
Your page markup goes here
</div>
</body>
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"altarboys" <webforumsuser@macromedia.com> wrote in message
news:dapggm$s72$1@forums.macromedia.com...> sorry about that but it explains it in the message above yours <murray
> *TMM*>
> all i want to do is to have the whole page centered and have smothin like
> borders on the sides but not on the top like in simple bits(listed above
> twice)
> would it be a layout?
>
>
Murray *TMM* Guest
-
rob::db #7
Re: centering all -aand creating layout
You need to put all the site's content in a container <div> tag, thus,
<div id='container'>
all your site's stuff
</div>
Then, in your style sheet, you need to create these styles,
html
{
width:100%
}
body
{
width:100% /*plus any other body styling you want to do*/
}
#container
{
position:relative;
top:0px; /*or whatever you want it to be*/
left:50%;
width:700px; /*or whatever you want it to be*/
height:auto;
margin-left:-350px; /*half of the width setting*/
/*plus any other styling you want to do*/
}
I hope that makes sense. It's perfectly standard practice, is 100% standards
compatible (including XHTML), and works in all modern standards compatible
browsers. You need to add those styles for html and body, as your <div> is
nested within the <body>, and the <body> is nested within the <html> tag. In
standards compliant mode for XHTML, this matters!
Rob
rob::db Guest
-
Murray *TMM* #8
Re: centering all -aand creating layout
That's really only necessary if the page is being built with absolutely
positioned elements. If not, my earlier suggestion works fine too.
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"rob::db" <rob@digitalburn.net> wrote in message
news:daq9k4$4au$1@forums.macromedia.com...> You need to put all the site's content in a container <div> tag, thus,
>
> <div id='container'>
> all your site's stuff
> </div>
>
> Then, in your style sheet, you need to create these styles,
>
> html
> {
> width:100%
> }
>
> body
> {
> width:100% /*plus any other body styling you want to do*/
> }
>
> #container
> {
> position:relative;
> top:0px; /*or whatever you want it to be*/
> left:50%;
> width:700px; /*or whatever you want it to be*/
> height:auto;
> margin-left:-350px; /*half of the width setting*/
> /*plus any other styling you want to do*/
> }
>
> I hope that makes sense. It's perfectly standard practice, is 100%
> standards
> compatible (including XHTML), and works in all modern standards compatible
> browsers. You need to add those styles for html and body, as your <div> is
> nested within the <body>, and the <body> is nested within the <html> tag.
> In
> standards compliant mode for XHTML, this matters!
>
> Rob
>
>
Murray *TMM* Guest
-
altarboys #9
Re: centering all -aand creating layout
hey thx alot guys you helped me soo much
altarboys Guest
-
Murray *TMM* #10
Re: centering all -aand creating layout
You're welcome!
--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
[url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
[url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
[url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
[url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
==================
"altarboys" <webforumsuser@macromedia.com> wrote in message
news:davfsd$m1l$1@forums.macromedia.com...> hey thx alot guys you helped me soo much
Murray *TMM* Guest



Reply With Quote

