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 ?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jjeff’s picture

Can 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.

quicksketch’s picture

A 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.

iko’s picture

Thanks 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...

iko’s picture

Version: 6.x-2.0-beta3 » 6.x-1.0

oups..
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 !)

jjeff’s picture

Title: HTML support ? » Support italic and bold text
FileSize
554 bytes

It turns out that the reset.css file resets the strong and em 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.

jjeff’s picture

Status: Active » Needs review
n4cqw’s picture

Good 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

quicksketch’s picture

Hi 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.

iko’s picture

Hi ! OK : works for me !
Thanks !
(and sorry for the delay..)

add1sun’s picture

#529212: h5, h6, quote, strong points out that there are a few more elements we need to account for: H5, H6

add1sun’s picture

Title: Support italic and bold text » Add style for elements zeroed in reset.css
Status: Needs review » Needs work

Ugh, there are a ton of them to review and add. Will work on it.

add1sun’s picture

Version: 6.x-1.0 » 6.x-2.x-dev
add1sun’s picture

Status: Needs work » Fixed

Didn't go for every single obscure one, but put quite a few in (including stuff like del and strike). Committed to 2.x-dev.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.