Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Simple HTML Table-formatting question

Posted on 2010-11-18
2
Medium Priority
?
215 Views
Last Modified: 2012-08-13
I would like to make the slider (the middle column) bigger (ideally about twice as big)

I changed the following line
<COLGROUP span="5" width="120"> to <COLGROUP span="7" width="120">
and the line

<TD  colspan="1"><div id="slider"></div></TD> to
<TD  colspan="3"><div id="slider"></div></TD>

But nothing changes!

What am I doing wrong?

Thanks!
<TABLE class="blocks">
						<COLGROUP span="5" width="120">
						<TR>	
							<TD></TD>
							<TD>Part One <INPUT TYPE="text" id="PER_1" value="100" onblur="javascript:updatePer2AndSlider()" class="Form30" label="Per1">%</TD>
							<TD  colspan="1"><div id="slider"></div></TD>
							<TD>Part Two <INPUT TYPE="text" id="PER_2" value="0" onblur="javascript:updatePer1AndSlider()"  class="Form30" label="Per2">%</TD>
							<TD></TD>
						</TR>	
						</TABLE>

Open in new window

0
Comment
Question by:gordontm
2 Comments
 
LVL 1

Accepted Solution

by:
maxelfox earned 2000 total points
ID: 34163474
I think you problem migth be in the css of the DIV...

This site migth help you: http://www.htmlcodetutorial.com/tables/_TD_COLSPAN.html
0
 
LVL 2

Author Comment

by:gordontm
ID: 34163576
I think you're right....
I deleted this JQuery code
<style type="text/css">
    #slider { margin: 10px; }
  </style>
and it now works....
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Find out what you should include to make the best professional email signature for your organization.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question