Questions tagged [inline-styles]

An inline style is one that is defined within an element that the style applies to. This is not specific to HTML so please include the appropriate language tag as well.

389 questions
0
votes
1 answer

jQuery: Remove inline "display:none"

I'm trying to figure out how to remove some inline styles from the current menu item in the navigation that jQuery is adding on hover. After hover, I want to still see the current menu item but the jQuery is adding display:none/ I added…
0
votes
2 answers

Why does GMail ignore my inline styling in HTML email

I make HTML emails and I understand that different email clients and browsers have different rules that render code differently. One thing I have never been able to figure out though is why the following code is ignored:
Timothy Adams
  • 191
  • 1
  • 1
  • 16
0
votes
1 answer

HTML email's inline CSS keeps getting stripped when displayed in Yahoo and Gmail

I'm creating an HTML email and testing it out by sending it through Outlook. However, when viewing in Gmail or Yahoo! Mail the inline styles are being stripped from the email. Without the display:block style, the images are displaying with gaps in…
user2510289
  • 1
  • 1
  • 1
0
votes
1 answer

how to normalize sequential spans inline css?

It's an obscure nut I'm trying to crack and even trying to put it into a question is difficult so best I show what I have and what I want to get:
A B
poby
  • 1,572
  • 15
  • 39
0
votes
0 answers

Dilemma: a huge sprite & inline style tags VS. no inline style tags and many images

I have an application in which the user will 'upload' a lot of (small-size, from 5 to 20kb each) images to the HTML page, and will drag and drop them to different locations on the page (with jQuery). I have the choice of making them input images…
webketje
  • 10,376
  • 3
  • 25
  • 54
0
votes
1 answer

Regular Expression to find span tag with inline style

I need a little help to write a regular expression which can find a span tag if it has inline style in it. So far I have got ]style=[\"'][^\"'][\"']*|/)?> which does find a span tag with inline style. It can detect the span tag only when there is…
aspnetdeveloper
  • 629
  • 1
  • 7
  • 16
0
votes
1 answer

How to stop jQuery animations from overriding inline styles?

My problem is a little complicated. I have a navigation menu, complete with dropdowns that rely on the slideDown() animation for functionality. My dropdown has to have a margin-top due to the way that I style it, but I have to set the margin-top…
Lrdwhyt
  • 430
  • 5
  • 22
0
votes
1 answer

Nivo-slider seems to put an inline css height in header div

I am using a template, called Shinra. I want to resize the slider ánd the header, which is anthracite of color. However, it seems like the slider is putting inline CSS in the header div for a different height than I want...I have tried the…
Jeffrey
  • 105
  • 1
  • 1
  • 8
0
votes
2 answers

JavaScript: Find all links and add style tag to it with style details like font, color etc.

I have a field where the user can enter some text including links etc. Once the data is saved and the text should be previewed I need to format all the links to a certain inline style tag set on the . There is no option to use CSS so it…
0
votes
2 answers

How do you prevent inline CSS link "color" from canceling out CSS stylesheet link "hover"?

I want my links*** to change color when clicked, but also change color when hovered over. I got a javascript function to change the color when clicked, but it requires inline CSS which is keeping my style sheet's hover from working. Is there a way…
openmaw
  • 3
  • 4
0
votes
2 answers

css text-align overruled?

I have a
with text-align:left - inside that: a

with text-align:center. The "closest" property should win = center - but it doesn't all 3

's are left-aligned ?!? Same result in both Firefox and Chrome - This is how it looks in Chrome's…

T4NK3R
  • 4,245
  • 3
  • 23
  • 25
0
votes
2 answers

Trying to 'undo' several CSS options with an inline statement

I'm trying to 'undo' the style in an unnumbered list by putting an inline style statement in the 'li' tags. I have everything looking the way I want except that I'm missing the bullet. Below is the original CSS and my inline style options to…
-1
votes
2 answers

HTML only Marquee animation using inline css only and @keyframes

I'm using an email platform (Listrak) that only allows inline CSS in the email-design. I made a simple scrolling marquee using inline css. But now I'm stuck on where to put the @keyframes css? I can't use tags. Everything has to be inline…
CharlesNYC
  • 13
  • 1
  • 1
  • 9
-1
votes
1 answer

trying to center divs within another div using inline css

I have an assignment for class (I know inline CSS isn't standard practice) in which he wants us to specifically use inline css in order to have a div box containing three other boxes that are centred horizontally. When I try to do it, no matter what…
meeth
  • 3
  • 1
-1
votes
1 answer

Background image hide the toolbar in reactjs

Hello i want to build a toolbar that has an image in the background. I have build two different components. The first is the image component: import React from 'react'; import thepic from '../mypic.jpg'; // with import import '../App.css'; const…
The_elevator
  • 75
  • 1
  • 8
1 2 3
25
26