Why is the page dynamic

Discussion in 'CSS' started by jacka, Dec 2, 2008.

  1. #1
    Hi

    I have a simple table with a small text, the latter placed in a div, using css.

    The page does what I want it to do except for one thing, when I expand the window lengthwise, the text which should appear below the table now, appears next to the table (to the right).
    Any idea plz?
    thx
    :confused::confused:
     
    jacka, Dec 2, 2008 IP
  2. justinlorder

    justinlorder Peon

    Messages:
    4,160
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Where is the problem ?
    pls paste your html and css code here .
    Or give your url .
     
    justinlorder, Dec 2, 2008 IP
  3. cheapez

    cheapez Active Member

    Messages:
    1,123
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    78
    #3
    Add in your style:
    text-align: left;
    if you want your texts start from the left to right.

    It's hard to tell what the problem is, you need to put the codes up or a screenshot.
     
    cheapez, Dec 2, 2008 IP
  4. jacka

    jacka Peon

    Messages:
    165
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi
    Thanks for your comments.

    I tried text-align: left; but did not help.
    My main page is as below.
    
    
    <?php
    
    include("../includes/validate_search.php");
    
    	include("db.php");
    	
    
    	?>
    <html>
    		
    		
    <head>
    
    <link rel="stylesheet" type="text/css" href="../css/form.css" />
    
    		<title> main page </title>
    	
    	<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    	
    	</head>
    		
    		
    		<body>
    		
    		<?php
    		include("../includes/box3.php");
    		?>
    	<?php
    		include("../includes/js_counter.php");
    		?>
    	
    	<?php
    		include("../includes/one_table.php");
    		?>
    		
    
    		
    	<?php
    		include("../includes/explan.php");
    		?>
    		<?php	
    	
    	include ("../includes/footer_1.php");
    		?> 
    	
    </body>
    </html>
    
    Code (markup):
    The webpage in question is located in:
    http://www.hpcgears.com/stockcheck/temp2orders_wp.php

    Try to expand the page sideways and the table no longer falls under the logo (i.e. it moves sideway)
    thanks for taking the time to look at my problem.
    :confused:
     
    jacka, Dec 3, 2008 IP
  5. jacka

    jacka Peon

    Messages:
    165
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Hi
    Solved it.
    It was due to me entering css external file twice. Once in the php function and then in the main webpage.
    thanks for looking at it.
    :D
     
    jacka, Dec 3, 2008 IP