Results 1 to 3 of 3

Thread: div inside td of the table is not taking table width

  1. #1
    Join Date
    Jul 2012

    div inside td of the table is not taking table width

    <body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
    <table width="100" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#000000">
    <!-- ImageReady Slices (brain.psd) -->
    <table id="Table_01" width="786" height="691" border="0" cellpadding="0" cellspacing="0">

    <td colspan="2">
    <img src="images/brain_01.jpg" alt="" width="786" height="263" border="0" usemap="#Map4">

    <div id="myDiv" style=" width:786px; " >
    jxnjxasx sxaxax xaxa;sxa asxmamxa xasmxa xaaxa mxaxllamxa
    <img src="images/brain_02.jpg" alt="" width="86" height="20" border="0" />
    asxmamxa xasmxa
    <div style="" id="pg"> Welcome to the page </div>

    <td rowspan="2">
    <img src="images/brain_02.jpg" alt="" width="236" height="428" border="0" usemap="#Map2">
    <img src="images/brain_03.jpg" alt="" width="550" height="394" border="0" usemap="#Map3">
    <td valign="top">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">

    <img src="images/brain_06.jpg" alt="" width="550" height="34" border="0" usemap="#Map">
    <map name="Map">
    <area shape="rect" coords="416,14,545,145" href="http://www.infobahnworld.com" target="_blank">
    <area shape="rect" coords="2,3,105,35" href="http://www.facebook.com/pages/BrainoBrain-Jumeira/285987171413272">
    <!-- End ImageReady Slices -->
    i wants to add div inside the table so it will take table width but its not working, i want dis to settle at table bottom ,not the bottom of the page
    how can i do that
    plz help
    position: fixed;
    bottom: 0;
    width: 100%;
    height: 100%;
    opacity: 0.6;
    background-color: Red;

    $(function () {

    $('#myDiv').delay(2000).animate({ height: '15%' });

    plz help thnx

  2. #2
    Join Date
    Jun 2006
    Boston, MA
    im not sure what you mean by 'dis', 'plz', or 'thnx'.
    "Problems cannot be solved by the same level of thinking that created them.

  3. #3
    Join Date
    Mar 2012

    I'd love to help you but i need to see the code LIVE.

    please upload your side on live with pictures and I'll be happy to solve you problem.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center