• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

bug with the code tag and internet explorer..

 
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i cant get the code tag to not go full width in internet explorer, i tried it on this forum too, and its doing the same thing here..

http://www.jforum.net/posts/list/0/3272.page#14905



is there any simple workaround for this? ive tried alot of html stuff, but it dosnt effect Internet Explorer, even thou i can see the changes in Firefox/Flock etc.
[originally posted on jforum.net by Trout]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hmm, have you tried putting the width: 95% style in the div surrounding the <pre ...> tag? I'm pretty sure that IE honors that in DIV tags. (but not max-width).
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thansk for replying

ive tried to add "width: 50%" to the styles.css

but that only changed the blockquote style, not the pre tag.

div surrounding the <pre ...> tag?


was this what you ment? i didnt find any <pre ...> in the htm files.

since theres a scroll-bar in the firefox view, i would think it had something to do with that not working in IE
[originally posted on jforum.net by Trout]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
BB Codes are replaced with HTML from the bb_config.xml file in the WEB-INF/config directory. The "code" section uses:



This is the div I was talking about.

[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
still havent got this to work



this should have done the trick? but still IE dont show it right, even thou it does affect Firefox and other browsers.

also tried to set the width and max-width to almost anything, it still dont change the IE look

you got any other suggestions? maybe this is set in an other file also?
[originally posted on jforum.net by Trout]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As I've said before... CSS is more of an art form than a science...

A couple of tricks I've used are:

futz with the overflow: settings. This is one area that IE and FF have different defaults.

Try defining a full width div and adding in padding to push the internal elements into position.

Google is your friend.. there are a lot of CSS related sites/blogs with good tips.

There are a lot of forums, etc. that are dedicated to css that might be able to give you a quick / better answer to this.
[originally posted on jforum.net by monroe]
 
Migrated From Jforum.net
Ranch Hand
Posts: 17424
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
ok, thanks for your help monroe
[originally posted on jforum.net by Trout]
 
I didn't say it. I'm just telling you what this tiny ad said.
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic