Results 1 to 5 of 5

Thread: Issue with lists

  1. #1
    Join Date
    Dec 2004
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Issue with lists

    Ok, I have an issue with html lists.
    I'm using simple setup:

    Code:
    <ul>
    <li>1</li>
    <li>2</li>
    </ul>
    The list shows up fine in Dreamweaver, and once saved on my PC and viewed in FF works fine.

    But, once I upload the page to my server and view it, it shows up as a list for a second as it loads and then just shows up as normal text. Same goes for IE.

    I'm not sure what's causing it to stop working on the server, even though I have a list in the same layout in a different folder on the server and it works fine.

    Any thoughts?

    viktor

  2. #2
    Join Date
    Jun 2008
    Posts
    589
    Thanks
    13
    Thanked 54 Times in 54 Posts
    Blog Entries
    1

    Default

    Maybe it's your computer...? Or your host's server...?

    Please post a link to the page on your site that contains the problematic script so we can check it out. This helps us help you.

  3. #3
    Join Date
    May 2007
    Location
    Boston,ma
    Posts
    2,127
    Thanks
    173
    Thanked 207 Times in 205 Posts

    Default

    or all the code from the page

  4. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    It sounds like a potential CSS issue.

  5. #5
    Join Date
    Dec 2004
    Posts
    83
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Guys,

    Thanks for pointing me in the right direction. By commenting out css files and js files, I found out that Thickbox css file is messing with my list.

    Funny thing is, it's not happening on other pages.

    Code:
    /* ----------------------------------------------------------------------------------------------------------------*/
    /* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
    /* ----------------------------------------------------------------------------------------------------------------*/
    *{padding: 0; margin: 0;}
    
    /* ----------------------------------------------------------------------------------------------------------------*/
    /* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
    /* ----------------------------------------------------------------------------------------------------------------*/
    #TB_window {
    	font: 12px Arial, Helvetica, sans-serif;
    	color: #333333;
    }
    
    #TB_secondLine {
    	font: 10px Arial, Helvetica, sans-serif;
    	color:#666666;
    }
    
    #TB_window a:link {color: #666666;}
    #TB_window a:visited {color: #666666;}
    #TB_window a:hover {color: #000;}
    #TB_window a:active {color: #666666;}
    #TB_window a:focus{color: #666666;}
    
    /* ----------------------------------------------------------------------------------------------------------------*/
    /* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
    /* ----------------------------------------------------------------------------------------------------------------*/
    #TB_overlay {
    	position: fixed;
    	z-index:100;
    	top: 0px;
    	left: 0px;
    	height:100%;
    	width:100%;
    }
    
    .TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
    .TB_overlayBG {
    	background-color:#000;
    	filter:alpha(opacity=75);
    	-moz-opacity: 0.75;
    	opacity: 0.75;
    }
    
    * html #TB_overlay { /* ie6 hack */
         position: absolute;
         height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
    }
    
    #TB_window {
    	position: fixed;
    	background: #ffffff;
    	z-index: 102;
    	color:#000000;
    	display:none;
    	border: 4px solid #525252;
    	text-align:left;
    	top:50%;
    	left:50%;
    }
    
    * html #TB_window { /* ie6 hack */
    position: absolute;
    margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
    }
    
    #TB_window img#TB_Image {
    	display:block;
    	margin: 15px 0 0 15px;
    	border-right: 1px solid #ccc;
    	border-bottom: 1px solid #ccc;
    	border-top: 1px solid #666;
    	border-left: 1px solid #666;
    }
    
    #TB_caption{
    	height:25px;
    	padding:7px 30px 10px 25px;
    	float:left;
    }
    
    #TB_closeWindow{
    	height:25px;
    	padding:11px 25px 10px 0;
    	float:right;
    }
    
    #TB_closeAjaxWindow{
    	padding:7px 10px 5px 0;
    	margin-bottom:1px;
    	text-align:right;
    	float:right;
    }
    
    #TB_ajaxWindowTitle{
    	float:left;
    	padding:7px 0 5px 10px;
    	margin-bottom:1px;
    }
    
    #TB_title{
    	background-color:#e8e8e8;
    	height:27px;
    }
    
    #TB_ajaxContent{
    	clear:both;
    	padding:2px 15px 15px 15px;
    	overflow:auto;
    	text-align:left;
    	line-height:1.4em;
    }
    
    #TB_ajaxContent.TB_modal{
    	padding:15px;
    }
    
    #TB_ajaxContent p{
    	padding:5px 0px 5px 0px;
    }
    
    #TB_load{
    	position: fixed;
    	display:none;
    	height:13px;
    	width:208px;
    	z-index:103;
    	top: 50%;
    	left: 50%;
    	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
    }
    
    * html #TB_load { /* ie6 hack */
    position: absolute;
    margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
    }
    
    #TB_HideSelect{
    	z-index:99;
    	position:fixed;
    	top: 0;
    	left: 0;
    	background-color:#fff;
    	border:none;
    	filter:alpha(opacity=0);
    	-moz-opacity: 0;
    	opacity: 0;
    	height:100%;
    	width:100%;
    }
    
    * html #TB_HideSelect { /* ie6 hack */
         position: absolute;
         height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
    }
    
    #TB_iframeContent{
    	clear:both;
    	border:none;
    	margin-bottom:-1px;
    	margin-top:1px;
    	_margin-bottom:1px;
    }
    What will mess with html lists in this css file?

    viktor

Bookmarks

Posting Permissions

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