CSS Centering tables
Hi,
I am trying to get more involved in CSS. I am using
Dreamweaver CSS interface for the most part as I do not know CSS
code well enough yet.
I want everything centered on the page .. so .....
I have a main table which is 100% wide and text alignment
that is centered.
In that table I first have an image as a header which centers
properly.
Below that I want to have a table the same width of the image
that is also centered.
That table will contain some content.
Why is it I cannot center that table under the image. It
wants to stay to the left.
Here is a link to page:
http://www.thereserveatglenville.info/prototype.html
Here is my CSS so far:
========================
body {
text-align:center;
margin: 0px;
background-color: #b4bbc0;
padding: 0px;
table#Main-Table {
margin-left:auto;
margin-right:auto;
width: 100%;
text-align: center;
border-top-width: 0px;
border-right-width: 0px;
border-bottom-width: 0px;
border-left-width: 0px;
vertical-align: top;
table#Content-Table {
width: 756px;
margin: 0px;
padding: 0px;
border: 1px solid #59636A;
=====================================
Thanks!!!
Paul
Hello,
It centers in IE, but to get it to center in FF,
Change this:
<table id="Content-Table">To this:
<table align="center" cellpadding="0" cellspacing="0"
border="0"
id="Content-Table">
Take care,
Tim
P.F." <[email protected]> wrote in message
news:fonb5m$dck$[email protected]..
> Hi,
>
> I am trying to get more involved in CSS. I am using
Dreamweaver CSS
> interface
> for the most part as I do not know CSS code well enough
yet.
>
> I want everything centered on the page .. so .....
> I have a main table which is 100% wide and text
alignment that is
> centered.
> In that table I first have an image as a header which
centers properly.
> Below that I want to have a table the same width of the
image that is also
> centered.
> That table will contain some content.
> Why is it I cannot center that table under the image. It
wants to stay to
> the
> left.
>
> Here is a link to page:
>
http://www.thereserveatglenville.info/prototype.html
>
> Here is my CSS so far:
>
> ========================
>
> body {
> text-align:center;
> margin: 0px;
> background-color: #b4bbc0;
> padding: 0px;
> }
>
> table#Main-Table {
> margin-left:auto;
> margin-right:auto;
> width: 100%;
> text-align: center;
> border-top-width: 0px;
> border-right-width: 0px;
> border-bottom-width: 0px;
> border-left-width: 0px;
> vertical-align: top;
> }
>
> table#Content-Table {
> width: 756px;
> margin: 0px;
> padding: 0px;
> border: 1px solid #59636A;
> }
>
> =====================================
>
> Thanks!!!
> Paul
>
>
Similar Messages
-
How to create a multi-page collapsible & CSS styleable table of contents box?
How to create a multi-page collapsible & CSS styleabe table of contents box?
Is there a tool available for Dreamweaver or for standalone operation that can create for multi-page articles a collapsible & CSS styleabe table of contents box based on the page titles?You could do this with jQuery.
Table of Contents -
http://www.downloadjavascripts.com/list/javasiteccc68/Details.aspx
Collapsible Panels, Tables & Accordions -
http://www.downloadjavascripts.com/Collapsible_And_Free_Accordion_Panels.aspx
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com -
IE Spry 2.0 Menu centering/ CSS vs Table/ em vs pix questions
Hi,
I realize this question may relate to other issues than strictly the Spry Widget Menu Bar. As some background, I am in the process of building a site to get rid of a bit of my record/cd collection. I am planning on using PayPal websites payments standard and a Paypal-shopping cart. While I realize this may be time consuming (especially making buttons for every item), I really don’t want to pay a monthly fee for a shopping cart or spend a lot of time to figure out how to integrate my design with some free third party software cart such as Zen cart. (Of course if someone has some ideas, I would be glad to hear them). But the main issue I needed some help with related to centering my Spry Menu Bar and questions about using tables as part of my layout.
My test files is here:
http://blueyondermusic.com/mywidget11.htm
In general, I had a few questions that I hope someone could shed some light on.
SPRY MENU BAR 2. 0 CENTERING ISSUES IN INETERNET EXPLORER
I have used Spry Menu Bar 2.0 widget for the main/bottom menu that goes to the various categories of records/cds. I used pixels for font size and did a fixed size layout for the widget. I think I have this working ok. However, I noticed it really isn’t centered when I view the page on IE 8 (more to the left).
Any thoughts on how to best fix this issue?
USING TABLES FOR MAIN CONTENT?
For the listings of each item, it seemed that it would be the easiest to use tables for my content. I have a 3 column table with the left column for the picture of the cd cover, the right for the paypal button, price, and other info (in a nested table), and the middle (in a nested table) for info about each item with Title, Catalog #, condition info at the top of the table. My thinking was that this would allow me to add items easy by just copying and pasting the middle table to new rows… I could have 10 to 100 items on a particular page (or who knows maybe more). I would also be copying these rows or tables and adding them to other pages where the item fit in multiple categories.
I couldn’t find anything on the web that made it look easy to do what I want to do with CSS rather than with HTML tables and have it look consistent across browsers. Of course, I did my first websites with tables, so I am used to them but also recognize that folks try not to use them these days. I am using pixels for my font size as opposed to em (no experience using em). My questions are:
Are my assumptions correct that it is ok to use a table layout for this portion of the page? If yes, any suggestions on controlling how it looks (I,e, should I not be using pixels for my font size?)?,
Is there an easy way in CSS to do the same thing and ensure consistency?
These questions above are really the most important. I don’t want to start adding all these items to find that there was a better, easier way to do this.
While I am not necessarily designing for mobile browsers, is there something easy to do to make it look consistent on mobile browsers? I notice the page on my iphone the text is taller than the album cover. I assume that it I set the row to a fixed height, it still would show the text the same on the browser and break up the table possibly.
Thanks!
KirkHi,
I realize this question may relate to other issues than strictly the Spry Widget Menu Bar. As some background, I am in the process of building a site to get rid of a bit of my record/cd collection. I am planning on using PayPal websites payments standard and a Paypal-shopping cart. While I realize this may be time consuming (especially making buttons for every item), I really don’t want to pay a monthly fee for a shopping cart or spend a lot of time to figure out how to integrate my design with some free third party software cart such as Zen cart. (Of course if someone has some ideas, I would be glad to hear them). But the main issue I needed some help with related to centering my Spry Menu Bar and questions about using tables as part of my layout.
My test files is here:
http://blueyondermusic.com/mywidget11.htm
In general, I had a few questions that I hope someone could shed some light on.
SPRY MENU BAR 2. 0 CENTERING ISSUES IN INETERNET EXPLORER
I have used Spry Menu Bar 2.0 widget for the main/bottom menu that goes to the various categories of records/cds. I used pixels for font size and did a fixed size layout for the widget. I think I have this working ok. However, I noticed it really isn’t centered when I view the page on IE 8 (more to the left).
Any thoughts on how to best fix this issue?
USING TABLES FOR MAIN CONTENT?
For the listings of each item, it seemed that it would be the easiest to use tables for my content. I have a 3 column table with the left column for the picture of the cd cover, the right for the paypal button, price, and other info (in a nested table), and the middle (in a nested table) for info about each item with Title, Catalog #, condition info at the top of the table. My thinking was that this would allow me to add items easy by just copying and pasting the middle table to new rows… I could have 10 to 100 items on a particular page (or who knows maybe more). I would also be copying these rows or tables and adding them to other pages where the item fit in multiple categories.
I couldn’t find anything on the web that made it look easy to do what I want to do with CSS rather than with HTML tables and have it look consistent across browsers. Of course, I did my first websites with tables, so I am used to them but also recognize that folks try not to use them these days. I am using pixels for my font size as opposed to em (no experience using em). My questions are:
Are my assumptions correct that it is ok to use a table layout for this portion of the page? If yes, any suggestions on controlling how it looks (I,e, should I not be using pixels for my font size?)?,
Is there an easy way in CSS to do the same thing and ensure consistency?
These questions above are really the most important. I don’t want to start adding all these items to find that there was a better, easier way to do this.
While I am not necessarily designing for mobile browsers, is there something easy to do to make it look consistent on mobile browsers? I notice the page on my iphone the text is taller than the album cover. I assume that it I set the row to a fixed height, it still would show the text the same on the browser and break up the table possibly.
Thanks!
Kirk -
CSS Centered & Fixed Width Layout
I'm trying to use CSS for building a new layout and do so without resorting to the old methods, like using tables. But I can't even get past a very basic thing using Dreamweaver CS5.5. I want the page layout to be a fixed width yet centered in the browser window instead of stuck to the left. Lots of web sites do this (even Adobe's main site).
In the past I would just create a parent table and simply give it a center alignment then build everything else inside of it. Easy. Unless I'm overlooking something obvious there appears to be no way at all to apply the same sort of alignment property to a DIV-based container. Dreamweaver provides lots and lots of other formatting options, but page alignment for that DIV object isn't there.
If I could just get the first big overall DIV centered on the page where I want it I think I could use absolute positioning on the DIVs inside of it.
I've searched around for examples on how to code CSS to make this work, but haven't been able to simply cut and paste the code into Dreamweaver to make it happen. I need to learn how to do this correctly using Dreamweaver's own CSS property dialog boxes.If I could just get the first big overall DIV centered on the page where I want it I think I could use absolute positioning on the DIVs inside of it.
OMG no. You don't want to use absolute positioning at all, until you understand CSS positioning fully.
Read this to get an idea how to do your layout -
http://www.apptools.com/examples/pagelayout101.php
HTML & CSS Tutorials - http://w3schools.com/
How to Develop with CSS?
http://phrogz.net/css/HowToDevelopWithCSS.html
Learn CSS positioning in 10 Steps
http://www.barelyfitz.com/screencast/html-training/css/positioning/
========================================
PRE-BUILT CSS LAYOUTS
For rock solid, commercial products that perform well in all browsers/devices, visit Project Seven:
http://www.projectseven.com/products/index.htm
Not Just a Grid CSS Framework (free)
http://www.notjustagrid.com/demo.asp
Ultimate Multi-Column Layouts (free)
http://matthewjamestaylor.com/blog/ultimate-multi-column-liquid-layout s-em-and-pixel-widths
EZ-CSS Templates (watch the screencast to see how it works)
http://www.ez-css.org/css_templates
Dreamweaver CSS Templates for beginners (free)
http://www.adobe.com/devnet/dreamweaver/articles/dreamweaver_custom_te mplates.html
New DW Starter Pages (free)
http://www.adobe.com/devnet/dreamweaver/articles/introducing_new_css_l ayouts.html -
Centering Table withing a form
I'm using a table to create my form input fields. I'd like the table to be centered on the page rather than the default left justified. The Format>Align>Center command does not work. Any ideas on what I can do to center the table within a form? Thanks. Mark Reynolds
The answer may depend on other code you have on the page, but presuming that your table can be 600px wide, try the following CSS -
table {
width:600px;
margin:0 auto;
Note that this will affect ALL tables on the page. If you have more than just this one table, then add an ID to that table and to the selector, e.g.,
table#form {
width:600px;
margin: 0 auto;
<table id="form"... -
I am using the following table to center a flash file and for
some
reason it seems like the CSS is giving the table a bit of
padding in the
browser? Can't figure out why? Also, do I even need a table
to center
this flash file in the first place?
This is my CSS:
html, body, #wrapper {
background-color: #25231a;
margin: 0;
padding: 0;
border: none;
text-align: center;
#wrapper {
margin: 0 auto;
text-align: left;
width: 800px;
Thank you for any help!
Brian> Also, do I even need a table to center this flash file
in the first place?
No. You can put it into a centering container, like a div.
> giving the table a bit of padding
Have you set the table attributes of cellpadding and
cellspacing and border
to zero?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"Brian" <[email protected]> wrote in message
news:e5nk9m$cen$[email protected]..
>I am using the following table to center a flash file and
for some reason
>it seems like the CSS is giving the table a bit of
padding in the browser?
>Can't figure out why? Also, do I even need a table to
center this flash
>file in the first place?
>
> This is my CSS:
>
> html, body, #wrapper {
> background-color: #25231a;
> margin: 0;
> padding: 0;
> border: none;
> text-align: center;
> }
> #wrapper {
> margin: 0 auto;
> text-align: left;
> width: 800px;
> }
>
>
> Thank you for any help!
> Brian -
Css layout problems - css and tables
Hi guys,
Well as some of you suggested months ago, I've been trying to
learn to layout with CSS... It's actually getting a bit rewarding
now as I start to figure a few things out but there's still plenty
of questions!!!
If anyone can take a look at what I'm working on at the
moment and give me some help I'd REALLY REALLY appreciate it!!
My main trouble (I think) is working with a drop-down menu
system that I found on the web and I'm dying to use it because it's
perfect for this design. It's layed out using a table so I'm trying
to incorporate that...
Click
[url=http://home.iprimus.com.au/jediwdog/ltc/mockup2.jpg]here[/url]
for a picture of what i'm trying to get this page to look like and
[url=http://home.iprimus.com.au/jediwdog/ltc/example1.html]here[/url]
to see how far I've got. You can download the stylesheet from
[url=http://home.iprimus.com.au/jediwdog/ltc/example1.css]here[/url].
Here's what I need to know:
1. I'm trying to push the table down so it looks better lined
up with the logo but when I tell it to be further from the top, it
doesn't seem to move. Any ideas on why?
2. As you can see, I've inserted some blank space into the
middle of the menu so that the logo doesn't cover any of the menu
items. I can't seem to get the same 1px black border on this
section.
I assume this is because the border on the other parts is a
layer/div border? Will I have to somehow put a div in there so as
to create the same border effect?
3. I'd really like to keep the header and footer visible at
all times, even if there's lots of content to scroll through. I
found this:
http://www.cssplay.co.uk/layouts/basics2.html#Top
but when I tried to implement this on my page, it all went haywire!
Is this going to be a possibility?
4. I guess other than that, have I completely stuffed this
up!? I don't think I have but it's worth asking I guess!
THANKS IN ADVANCE! I'm really loving using css layout rather
than tables - it's soooo much more versatile. I just need to get
past some obstacles I think!
Cheers
NeilOn Wed, 24 Jan 2007 22:17:20 +0000 (UTC), "Barb S."
<[email protected]> wrote:
>Ok, I made your suggested changes and have this:
>
> body {
> font-family: Georgia, "Times New Roman", Times, serif;
> text-align: center;
> font-size: 1em;
> font-style: normal;
> text-decoration: none;
> top: 15px;
> background-image:
url(/images/backgrounds/background1.gif);
> padding-top: 15px;
>>>> width: 70%;
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> }
>
> #body {
> margin: 0 auto;
> text-align:left;
> width: 760px;
> padding-right: 20px;
> padding-bottom: 20px;
> padding-left: 20px;
> background-color: #FFFFCC;
> padding-top: 20px;
> font-family: Georgia, "Times New Roman", Times, serif;
> font-size: 1em;
> color: #003366;
>
> }
>
>
http://www.japanesetemari.com
>
> The page is on the left size of the screen and the
yellow box does not expand
>out. Not exactly what I'd wanted. I like to take
advantage of larger screens
>and have the page expand out but not so far out so the
lines of text are real
>long.
> Barb
It's this in the body style that is limiting the width -
change that
to 100%
>>>> width: 70%;
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
> }
~Malcolm N....
~ -
I'm relatively new to CSS and need some help with centering the sidebar menus in the website I'm developing. What I'd like to see is the button background edges touching the main content edges so when scrolling over buttons the active state inherit the maincontent background colour and both the sidebar1 and sidebar2 columns look uniform and balanced.
I've also uploaded the mockup http://www.auctionontario.ca/hso/HSOMockUpLiquid.html
Any suggestions will be appreciated.
Thanks..It's a National Holiday (Thanksgiving) here in the States. There's much less participation on these forums today. So don't be too impatient.
Sorry, I misread your question about centering menus.
Change width on #sidebar1 to 23% instead of 22%
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb
www.alt-web.blogspot.com
Message was edited by: Nancy O. misread question. -
Hi,
I'm building a website from a photoshop design and I have a
problem with the layout I can't see how to fix:
I have a header and a footer which both need to stay centered
and expand to whatever the browser window width is set to.
Between them I have a div of the main content of the pages
which also needs to be centered.
All seems very simple. I would normally just have a big div
around the whole page with an align="center". Job done.
But the problem is the space to the left of the content div
needs to be grey and the space on the right needs to be black.
Therefore I assume I'm going to need 3 divs. 2 for the left and
right spaces and another with the main content between them.
Both the side divs will need to expand somehow to fill the
space while keeping the fixed width content div centered. But I
think they will also have to be floated to sit side by side.
I cant seem to get the divs to stay in the correct places or
keep the side ones filling the space between the content div and
the edges of the browser.
Can anyone help?
Thanks,
OlliebearIs this what you au trying to do?
http://starttoweb.com/
If so, you are welcome to grab the CSS file and mostly to fit
your needs.
Cheryl D Wise
Adobe Community Expert
http://starttoweb.com
"Olliebare" <[email protected]> wrote in
message
news:fpn0q2$p1v$[email protected]..
> Hi,
>
> I'm building a website from a photoshop design and I
have a problem with
> the
> layout I can't see how to fix:
>
> I have a header and a footer which both need to stay
centered and expand
> to
> whatever the browser window width is set to.
>
> Between them I have a div of the main content of the
pages which also
> needs to
> be centered.
>
> All seems very simple. I would normally just have a big
div around the
> whole
> page with an align="center". Job done.
> But the problem is the space to the left of the content
div needs to be
> grey
> and the space on the right needs to be black. Therefore
I assume I'm going
> to
> need 3 divs. 2 for the left and right spaces and another
with the main
> content
> between them.
>
> Both the side divs will need to expand somehow to fill
the space while
> keeping
> the fixed width content div centered. But I think they
will also have to
> be
> floated to sit side by side.
>
> I cant seem to get the divs to stay in the correct
places or keep the side
> ones filling the space between the content div and the
edges of the
> browser.
>
> Can anyone help?
>
> Thanks,
>
> Olliebear
> -
CSS in tables - background and paragraphs [was: need help]
Hi there,
I'm using Dreamweaver CS3 and i'm trying to add a background image to a cell. I'm using CSS which works, but that also adds parts of the background to other cells. The only way i can do it sucessfully is by going "properties" then "bg", but i would rather use CSS because i want my page valid with W3C. Is there an easy way to do this?
I also have a problem with paragraph spacing. If i align text to the top of a cell with paragraphs, the area above the whole text moves down one line in a broswer, if i have no paragraphs then it will look exactly the same as in dreamweaver. Is this normal or is there anyway to prevent it happening?.
Any help is much appreciated, thanks.Paragraphs have a default top margin. You need to remove or adjust the margin with your CSS:
td p {
margin-top: 0;
Awesome! Worked right away, this has been driving me nuts for ages, thanks a lot.
In code view, you can use CSS to style a single table cell like so.
HTML:
<table>
<tr>
<td style="background: url(some_image.jpg) no-repeat">
styled table cell here here </td>
<td>unstyled table cell here </td>
</tr>
</table>
I'm not too sure where to place this code, what does "styled and unstyled table cell" mean?
I'm not that great when it comes to codes, any help would be grealty appreciated, thanks. -
Centering table cell content in panel grid
How can I center the content of the cells in a table grid so it would end up something like this:
<table>
<tr>
<td align="center">You can do that using stylesheet. You can look at the
repeater demo example for ideas. The corresponding
stylesheet class is components/web/stylesheet.css .
Hope this helps.
-JayashriI think we need more powerfull layout oriented components.
XAML, XUL, ADF all of them have powerfull layout components library.
Maybe it's time start working in this direction.
I'm sure that JSF must provide in near future more powerfull layout related components library, no doubt here!
After that it will be possible to remove from styles classes and jsp code everything that was used for layout.
Layout components will take care about align components, preferred size and etc.
We need minimize number of style classes.
That possible if you will make them more universal.
But no way to make universal style classes with layout related attributes inside them.
Take a look on simple layout case:
<s:row align="opposite" styleClass="footerPage">
<h:outputText value="#{bundle.copyright}"/>
<h:outputText value="#{bundle.terms}"/>
</s:row>
public class RowRenderer extends HtmlBasicRenderer {
public RowRenderer() {
super();
public boolean getRendersChildren() {
return true;
public void encodeBegin(FacesContext context, UIComponent component) throws IOException {
if (!component.isRendered())
return;
ResponseWriter writer = context.getResponseWriter();
writer.startElement("div", component);
writeIdAttributeIfNecessary(context, writer, component);
String styleClass = (String) component.getAttributes().get("styleClass");
if (styleClass != null) {
writer.writeAttribute("class", styleClass, "styleClass");
Util.renderPassThruAttributes(writer, component);
public void encodeChildren(FacesContext context, UIComponent component) throws IOException {
if (!component.isRendered())
return;
Iterator kids = null;
String style = null;
int i = 0;
String align = (String) component.getAttributes().get("align");
if (align == null) align = "start";
if (null != (kids = getChildren(component))) {
while (kids.hasNext()) {
UIComponent child = (UIComponent) kids.next();
if (!child.isRendered())continue;
style = (String) child.getAttributes().get("style");
style = (style != null) ? style + ";" : "";
if ( (align == "start") || (align == "left"))
style += "float: left;";
else
if ( (align == "end") || (align == "right"))
style += "float: right;";
else
if (align == "opposite") {
if ((i % 2) == 0)
style += "float: left;";
else
style += "float: right;";
child.getAttributes().put("style", style);
encodeRecursive(context, child);
i++;
public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
if (context == null || component == null) {
throw new NullPointerException(Util.getExceptionMessageString(
Util.NULL_PARAMETERS_ERROR_MESSAGE_ID));
if (!component.isRendered())
return;
ResponseWriter writer = context.getResponseWriter();
writer.endElement("div");
It's good idea in many layout situations to use tableless layout.
Row component just simple demonstration how it work.
There are some problems with implementation and using tableless layout
but at least in some cases it's good choise.
I'm ready to provide plenty suggestions in area of creating and using layout components.
Just don't know if you have interest to discuss that matter.
Vladimir -
I'm a volunteer for a school foundation site, and am trying
to redesign the site for them. I got some good help on the opening
page here the other day, but now am stuck on another page:
http://canyoncrestfoundation.org/donorlist.html
It looks great in Safari, Firefox, and older versions of IE,
at least the one or two that I have available, but in IE 7, all the
tables are smooshed against the left side of the screen. Can anyone
help me fix this?
Actually I'll sneak in one other question here. I would like
to have the links on the whole site be red, as they are now. But
I'd really like to have the background of the menu be black, as it
is here:
http://canyoncrestfoundation.org/newpage2.html
But some people can't see the red against the black. Is there
anyway to have the links on that menu only be white? I realize that
it's possible to do a fancier menu, or insert a commercial menu,
but right now I have too many other issues to deal with. Thanks>tons of weird stuff
I had another look - there's two lots of META tags as well
(description and
keywords)
Jo
"Murray *ACE*" <[email protected]> wrote
in message
news:[email protected]...
> There's tons of weird stuff there.
>
> Three title tags.
>
> A background image link from hell -
>
> body {
> background-image: url(../../Library/Application
> Support/Macromedia/Dreamweaver
>
8/Configuration/ServerConnections/CCAF//htdocs/images/eostilework1f.gif);
>
> (weird, since the page is at the root of the site)
>
> But it's luckily reversed by another instance of that
style in the same
> rule -
>
> background-image: url(images/eostilework1f.gif);
> }
>
> As for the inner table, perhaps it's feeling constrained
by this outer
> <td>?
>
> <td width="284" align="left"
valign="middle"><div align="center">
> <h2 align="center"><img
src="images/librarystudent.jpg" alt="student
> with lots of books" width="217" height="144" vspace="15"
> align="middle"></h2>
> <h2 align="center">Canyon Crest Academy Foundation
Donors</h2>
> <h3 align="center">Legacy of Learning<br>
> ($10,000 and up)</h3>
> <div align="center">
> <table border="0" cellspacing="0" cellpadding="0">
>
> Remove the width="284" from that <td> and see if
that helps.
>
>
http://murraytestsite.com/donorlist.html
>
> --
> Murray --- ICQ 71997575
> Adobe Community Expert
> (If you *MUST* email me, don't LAUGH when you do so!)
> ==================
>
http://www.dreamweavermx-templates.com
- Template Triage!
>
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
>
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
>
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
> ==================
>
>
> "josie1one" <joleros[nospam]@yahoo.com> wrote in
message
> news:[email protected]...
>> For your second question, you'll need to use some
CSS. Here are some good
>> links:
>>
>>
http://www.mako4css.com/BasLink.htm
>>
http://thepattysite.com/linkstyles3.cfm
>>
http://www.projectseven.com/tutorials/css/pseudoclasses/
>>
>>
>> --
>> Jo
>>
>>
>> "josie1one" <joleros[nospam]@yahoo.com> wrote
in message
>> news:[email protected]...
>>>I haven't looked at it in IE7 yet, but I had a
look at possible reasons.
>>> You have a blank space above your DOCTYPE which
should be removed and
>>> you have a second instance of
<TITLE></TITLE>
>>> Fix those and see if this helps, if not, post
back
>>>
>>> --
>>> Jo
>>>
>>>
>>> "Sootica" <[email protected]>
wrote in message
>>> news:[email protected]...
>>>> I'm a volunteer for a school foundation
site, and am trying to redesign
>>>> the
>>>> site for them. I got some good help on the
opening page here the other
>>>> day, but
>>>> now am stuck on another page:
>>>>
http://canyoncrestfoundation.org/donorlist.html
>>>>
>>>> It looks great in Safari, Firefox, and older
versions of IE, at least
>>>> the one
>>>> or two that I have available, but in IE 7,
all the tables are smooshed
>>>> against
>>>> the left side of the screen. Can anyone help
me fix this?
>>>>
>>>> Actually I'll sneak in one other question
here. I would like to have
>>>> the links
>>>> on the whole site be red, as they are now.
But I'd really like to have
>>>> the
>>>> background of the menu be black, as it is
here:
>>>>
http://canyoncrestfoundation.org/newpage2.html
>>>> But some people can't see the red against
the black. Is there anyway to
>>>> have
>>>> the links on that menu only be white? I
realize that it's possible to
>>>> do a
>>>> fancier menu, or insert a commercial menu,
but right now I have too
>>>> many other
>>>> issues to deal with. Thanks
>>>>
>>>>
>>>>
>>>
>>>
>>
>>
>
> -
Need to Create 2 Columns Data in CSS Without Table
Here is what I am trying to do without using a table layout
at all:
STATE TOTAL
AZ 1000
AL 2000
So can anyone point me to where I can learn this online or
any good tutorials on CSS and tabular data, etc. I came up with a
solution in CSS but the right side with the numbers were always one
level beneath where it should be and I could never get them to line
up properly...Thanks
DanteApply a repeat region to that can You?
Dave
"Malcolm N_" <[email protected]> wrote in message
news:[email protected]..
> On Mon, 24 Mar 2008 21:44:56 +0000 (UTC),
"Dante45Chicago"
> <[email protected]> wrote:
>
> >Here is what I am trying to do without using a table
layout at all:
> >
> > STATE TOTAL
> > -----------------------------------
> > AZ 1000
> > -----------------------------------
> > AL 2000
> > -----------------------------------
> >
> >
> > So can anyone point me to where I can learn this
online or any good
tutorials
> >on CSS and tabular data, etc. I came up with a
solution in CSS but the
right
> >side with the numbers were always one level beneath
where it should be
and I
> >could never get them to line up properly...Thanks
> >
> > Dante
>
>
> OK - always up for a challege :-)
>
> quick and dirty
>
> <style type="text/css">
> body {
> font-family: Geneva, Arial, Helvetica, sans-serif;
> font-size: 1em;
> }
> body {
> margin: 0; padding:o}
>
> p.box1 {
> width:5em;
> border-bottom:1px dashed;
> float:left;
> border-top-width: 1px;
> border-right-width: 1px;
> border-left-width: 1px; }
> .clearfloat {clear:both;}
> </style>
> </head>
> <body>
> <p class="box1">STATE</p>
> <p class="box1">TOTAL</p>
> <br class="clearfloat" />
> <p class="box1">AZ</p>
> <p class="box1">1000</p>
> <br class="clearfloat" />
> <p class="box1">AL</p>
> <p class="box1">2000</p>
>
> </body>
> </html>
> --
>
> ~Malcolm N....
> ~ -
Hi all,
Is CSS a better choice than using tables as mentioned in a
lot of sites? If it does, how does one create webpages using CSS
method. I am new to dreamweaver and have created webpages using
tables without any CSS. Please advise.> Is CSS a better choice than using tables as mentioned in
a lot of sites?
It depends entirely on a) your skill level, and b) your needs
on the page.
In general, CSS is a better choice as a general layout method
since all of
your 'presentation' is moved from the page into an external
CSS stylesheet
which can be cached and not re-fetched for each linked page.
In addition,
with CSS layouts, your content is usually continuous within a
given
container, whereas with tables your content is often
scattered through
various contiguous and perhaps non-contiguous table cells,
leading to
confusing or even non-explicable results when the pages are
read with a
screen reader.
> how does one create webpages using CSS method
1. Study CSS
2. Read this -
http://apptools.com/examples/pagelayout101.php
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"KUPO12345" <[email protected]> wrote in
message
news:gi5dqk$9ou$[email protected]..
> Hi all,
>
> Is CSS a better choice than using tables as mentioned in
a lot of sites?
> If it
> does, how does one create webpages using CSS method. I
am new to
> dreamweaver
> and have created webpages using tables without any CSS.
Please advise.
> -
CSS: Centering via the CSS box model
I have a page where I want a short line of text to center both horizontally and vertically. I've successfully used margin:0 auto in the past to center horizontally, but it's not working vertically. Any tips on why not and what route I should take?
Murray *ACP* wrote:
Better try that again....
The code got stripped out by this wonderful Jives Forum System. Try again, of course:
1) HTML CODE:
<div id="test">
<p>The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</p>
<p>The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</p>
<p>The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog. The quick brown fox jumps over the lazy dog.</p>
</div>
2) The CSS code to go with it:
#test { border: 5px double #eee; display: table-cell; background-color: blue; color: yellow; height: 600px; width: 800px; margin: 0 auto; font-size: 16px; vertical-align: middle; text-align: center; }
I hope this satifies Murray in all material respect. Perhaps he should also complain to JIVES about their wonderful forum software which most people love to hate. I will try to post a test page on a server in due course when I am at my real watertight desktop! I don't want to be hacked!
hth
Maybe you are looking for
-
Response message from stored procedure
I have created the stored procedure(oracle) CREATE OR REPLACE PROCEDURE UPDATE_INSERT(sHID IN VARCHAR2,sZNAME IN VARCHAR2,sZDATE IN DATE)IS I NUMBER; BEGIN SELECT COUNT(HID) INTO I FROM ZSO_H WHERE HID = sHID; IF I > 0 THEN begin DELETE FROM ZSO_H W
-
Queries in Enterprice Application Project
In WSAD Enterprice Application Project is created. Say i have created 10 servlet program. I need no 9 servlet to run first. What should be done for dong this while running the Enterprice Application Project. What should be changed on Web.xml.
-
I am designing a stand alone program
Hello there, i am not sure whether i am in the right forum. anyways, i am or i want to develop a music player like winamp. i need a little help as to which apis i am suppose to use or am i supposed to use frames? thats it bharath
-
Urgent : DataSyncWorkManager issue
Hi , I am getting weird exception in weblogic Console while manually deploying Weblogic Portal EAR file on to Weblogic 9.2 portal server. javax.naming.NameAlreadyBoundException: DataSyncWorkManager is already bound; remaining name 'app/webapp/TestToo
-
Desktop Manager Has Stopped Working @ Processing Device Calendar During Sync Process
I have a BB 8330 and have an annoying issue....it sync'd with MS Outlook for about 2 months after i got it then I started getting an error inthe sync process "Blackberry Desktop Manager Has Stopped Working, Windows is shutting it Down"....this always