Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Hello,
My content is HTML formatted but mark-ups are not interpreted (input format is FULL HTML actually). This comes from 960 Robots : when I switch to another theme, text is correctly displayed.
Any idea ?
Comment | File | Size | Author |
---|---|---|---|
#5 | 960robots-bold-italic.patch | 554 bytes | jjeff |
#3 | 960robots_textdisplay.jpg | 109.74 KB | iko |
#3 | garland_textdisplay.jpg | 132.63 KB | iko |
#3 | text_html.jpg | 122.2 KB | iko |
Comments
Comment #1
jjeff CreditAttribution: jjeff commentedCan you give any more details about this problem? What exactly is happening at the HTML-level? Are you sure it's not just a CSS issue?
We'll need more details in order to investigate this problem.
Comment #2
quicksketchA screenshot would help also. I'm not able to reproduce this problem, perhaps there's some error in your HTML that is causing the layout to break, and it might affect other theme but just be less noticeable.
Comment #3
iko CreditAttribution: iko commentedThanks for quick answer. I give you some screenshots (display with 960 Robots, with Garland, and the code) ; I can't check the files now but I didn't modify anything in the theme. I will check CSS files as soon as possible.
The HTML code seems to be OK.
I'll try to give you more info ; tell me what you need if necessary...
Comment #4
iko CreditAttribution: iko commentedoups..
I just realized I was using 6.x-1.0 version ; maybe this problem doesn't exist with 2.0. I will check it tonight and mark this issue as "fixed" IF the display is OK with 2.0...
(sorry !)
Comment #5
jjeff CreditAttribution: jjeff commentedIt turns out that the reset.css file resets the
strong
andem
tags and sets their styling back to "normal".Here is a patch which adds styling for these into main.css. I will commit this when I can get a chance.
Comment #6
jjeff CreditAttribution: jjeff commentedComment #7
n4cqw CreditAttribution: n4cqw commentedGood evening guy's
Just a dumb question... I am just starting get my feet wet with Drupal so forgive my crazy questions.
I have been messing with sites for a couple years, so i have a little experience with CSS but I would like a sanity check.
This is the way I inserted in the main css file.
/*Index: css/main.css
===================================================================
RCS file: /cvs/drupal-contrib/contributions/themes/ninesixtyrobots/css/main.css,v
retrieving revision 1.1.4.5
diff -u -p -r1.1.4.5 main.css
--- css/main.css 6 Jul 2009 23:22:32 -0000 1.1.4.5
+++ css/main.css 13 Jul 2009 18:54:03 -0000
@@ -82,6 +82,14 @@ p, dl */ {
margin: 10px 0;
}
+strong, b {
+ font-weight: bold;
+}
+
+em, i {
+ font-style: italic;
+}
+
/* Images */
#content-wrapper img, #footer-wrapper img {
background: #FAFAFA;
Is this correct? I inserted comment brackets at the beginning to comment the information out and keep as a record of the change.
Thanks, Moe
Comment #8
quicksketchHi Moe, the file jjeff attached was a patch file, where each line with a "+" means an added line, but it's not part of the actual code. If you were to remove the "+" from each line, then it would accomplish what you're trying to do. You can get more information on patches and how to apply them at http://drupal.org/patch/apply. But for a simple patch like this, just pasting it in and removing the "+"s should work fine.
Comment #9
iko CreditAttribution: iko commentedHi ! OK : works for me !
Thanks !
(and sorry for the delay..)
Comment #10
add1sun CreditAttribution: add1sun commented#529212: h5, h6, quote, strong points out that there are a few more elements we need to account for: H5, H6
Comment #11
add1sun CreditAttribution: add1sun commentedUgh, there are a ton of them to review and add. Will work on it.
Comment #12
add1sun CreditAttribution: add1sun commentedComment #13
add1sun CreditAttribution: add1sun commentedDidn't go for every single obscure one, but put quite a few in (including stuff like del and strike). Committed to 2.x-dev.