ballouta Posted July 8, 2010 Share Posted July 8, 2010 Hello i am trying to modify a template on Dreamweaver the <h5> is in english and i am trying to change the title to another language, when I do this, the title disappears when i open the page on IE. here's a sample of the HTML code <div class="lastbox"> <div class="title_460px"> <h5>فائF</h5> </div> <div class="content460px"> <p>Fusce aliquet, ante nec dictum accumsan, risus sapien aliquet ipsum, quis congue risus. Pellentesque venenatis egestas lectus a condimentum. Nulla ut erat ut. Pellentesque venenatis egestas lectus. Pellentesque venenatis egestas risus sapien aliquet ipsum. </p> <a href="#">LEARN MORE</a> </div> </div> and here's the CSS code: .box, .lastbox, .homepagebox { float: left; margin: 0px 0px 20px 0px; } .lastbox { margin-right: 0px; } .homepagebox { margin-right: 20px; } #sidebar { float: right; width: 300px; } .title, .title_featured,.title_220px, .title_460px, .title_620px, .title_300px, .title_940px, .categorylist li { background: url(../images/title.jpg) top left repeat-x ; height: 29px; padding: 18px 0px 0px 20px; border-top: #c8c8c8 solid 1px; border-left: #c8c8c8 solid 1px; border-right: #c8c8c8 solid 1px; } Please help, Many thanks [attachment deleted by admin] Link to comment https://forums.phpfreaks.com/topic/207101-titles-disappear/ Share on other sites More sharing options...
joePHP Posted July 8, 2010 Share Posted July 8, 2010 Hi, If you are talking about div with the class value title_460px, then, you are giving it a height of 29px but then giving it padding top 18px so you are pretty much kicking out anything in it. I hope that Helps, Joe Link to comment https://forums.phpfreaks.com/topic/207101-titles-disappear/#findComment-1083187 Share on other sites More sharing options...
ballouta Posted July 8, 2010 Author Share Posted July 8, 2010 Thanks for help i removed this line, but still the text doesnt appear padding: 18px 0px 0px 20px; I also tried to change the height value nothing changed, Link to comment https://forums.phpfreaks.com/topic/207101-titles-disappear/#findComment-1083191 Share on other sites More sharing options...
joePHP Posted July 8, 2010 Share Posted July 8, 2010 Try taking away the margin and padding from the h5 h5 { margin: 0; padding: 0; } Link to comment https://forums.phpfreaks.com/topic/207101-titles-disappear/#findComment-1083214 Share on other sites More sharing options...
ballouta Posted July 8, 2010 Author Share Posted July 8, 2010 Sorry didnt work BUT when i first open the index.html page in internet explorer, those titles actaully show up BEFORE i allow the red bar at the top (Allow activeX). does this give anything? Thank you oh wait, I found this script! <script type="text/javascript"> Cufon.replace('h1, h2, h5, .footer', { hover: 'true' }); </script> when i removed it, the titles showed up! what isit for?!!! Link to comment https://forums.phpfreaks.com/topic/207101-titles-disappear/#findComment-1083216 Share on other sites More sharing options...
joePHP Posted July 8, 2010 Share Posted July 8, 2010 check this out http://wiki.github.com/sorccu/cufon/usage Link to comment https://forums.phpfreaks.com/topic/207101-titles-disappear/#findComment-1083219 Share on other sites More sharing options...
ballouta Posted July 8, 2010 Author Share Posted July 8, 2010 Thanks so much for all ur efforys Link to comment https://forums.phpfreaks.com/topic/207101-titles-disappear/#findComment-1083224 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.