Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
span
- Page 1
Span tag with anchor tag
Digital Media
UI / UX Design
11 Years Ago
by siddhughosh19
…ul li a:hover{ } #menu9 ul li a:hover
span
.title{ color:#074a64; border-bottom:2px solid #444444; …} #menu9 ul li a
span
.text{ padding:0px 5px; font-size: 14px; …074a64; visibility:hidden; } #menu9 ul li a:hover
span
.text{ line-height: 3.4em; visibility:visible; }…
Span class with different link properties
Digital Media
UI / UX Design
17 Years Ago
by Borderline
…the thumbnails were affected too. I have attempted adding a
span
class so that the only links affected were the 1…but it hasn't worked. My HTML code: [CODE] <
span
class="links"> <a href="/photos…">4</a> </
span
> [/CODE] My CSS Code: [CODE]
span
.links { a:link { color: #000000; …
Span utilization
Digital Media
UI / UX Design
14 Years Ago
by maofree
… configure a item (it's a
span
, not a link). I want to display that
span
like a button, but padding works… it doesn't work (the same with margin) .menu li
span
.separator { font-size: 14px; font-weight: bold; padding: .75em 1em… add that padding only for the li that includes that
span
.separator and not for all li of menu, but I…
span option with image
Digital Media
UI / UX Design
16 Years Ago
by emilio
… to place an image: [CODE=jsp] <
SPAN
style="position: absolute; top: 220px; left: 371px; width: 320px; …;> <IMG SRC="t3.JPG" > </
SPAN
>[/CODE] the problem that this image is hiding other…
span tag padding problem, Javascript detecting line wrap
Programming
Web Development
15 Years Ago
by sainiweb
Hi I have problem with
span
tag padding paroblem can I do fix it with css … style="width: 250px;"> <p> <
span
style="background-color: #009; color: #FFF;" class="… to do this manually (otherwise it looks like this).</
span
></p></div> <div style…
span inside legend tag
Digital Media
UI / UX Design
11 Years Ago
by Violet_82
HI all, I was wondering if it is legal to have a
span
tag inside a legend, something like this `<legend>This is my<
span
>legend</
span
></legend>` Can't quite work out whether legend is a block element or inline thanks
Re: span tag padding problem, Javascript detecting line wrap
Programming
Web Development
15 Years Ago
by sainiweb
… style="width: 250px;"> <p> <
span
id="pp" style="background-color: #009; color…;br /> highlight color behind <br />it. </
span
> <div style="background-color: #009; color: #FFF…
Re: span tag padding problem, Javascript detecting line wrap
Programming
Web Development
15 Years Ago
by sainiweb
…350px;"> <p> <
span
id="span_padding" style="background-color: …highlight color behind <br />it. </
span
> </div> </body> …
Re: span tag padding problem, Javascript detecting line wrap
Programming
Web Development
15 Years Ago
by sainiweb
…350px;"> <p> <
span
id="span_padding" style="background-color: …highlight color behind <br />it. </
span
> </div> </body> …
Re: Span utilization
Digital Media
UI / UX Design
14 Years Ago
by RJ_Dev
You can try setting a specific height to the
span
element, may be padding will work then.
Re: span inside legend tag
Digital Media
UI / UX Design
11 Years Ago
by JorgeM
… that you mean conforming to the W3C standards? Having a
span
element within the legend element should not cause the document…. I assume the reason why you want to use the
span
tag is for applying certain styles that you just cant…
<span> Firefox VS IE Help?
Digital Media
UI / UX Design
16 Years Ago
by u8sand
…:glow(color=red, strength=7); height: 3px;'>Hello</
span
> [/code] Normally, in IE that would make text with…
Re: span tag padding problem, Javascript detecting line wrap
Programming
Web Development
15 Years Ago
by sainiweb
Can I do this with javascript besides of css becouse with a
span
tag padding will be ad in fron and rear of paragraph where browser or dive tag will breake line there padding will remove
Re: span inside legend tag
Digital Media
UI / UX Design
11 Years Ago
by EvolutionFallen
For completeness, the [HTML5 docs](http://www.w3.org/TR/html5/forms.html#the-legend-element) allow "Phrasing content" as children of `<legend>`. The `
span
` tag is [listed as such](http://www.w3.org/TR/html5/dom.html#phrasing-content-1), so yes it's valid.
Re: confusing syntax: span.scrolled
Digital Media
UI / UX Design
13 Years Ago
by pritaeas
>
span
.scrolled Defines CSS properties for the
span
tag with class "scrolled". It is inserted in the jQuery code: `<
span
class="scrolled">` `.scroll()` is a [jQuery browser event](http://api.jquery.com/scroll/).
Extract everything between a <span> tag ignoring any othe tag , newline , comma in it
Programming
Software Development
16 Years Ago
by jyotiu
…quot;\'])name\1\s*>\s*(?:.*?\s+)*?(.*?)\s*<\/
span
>/',$file,$patterns); $res = array(); array_push…list_address\1\s*>\s*(?:.*?\s+)*?\s*(.*?)\s*<\/
span
>/',$file,$patterns); $res = array(); array_push…phoneVal[1-9].*\1\s*>(?:.*?\s+)*?(.*?)\s*<\/
span
>/',$file,$patterns); $res = array(); array_push…
Multiple Id of Span
Digital Media
UI / UX Design
10 Years Ago
by phoenix254
…quot;>Maxi</
span
> <
span
id="user John">John</
span
> <
span
id="user Henry…">Henry</
span
> <
span
id="user Max…">Max</
span
> <
span
id="user …
Changing li class with span id in Modal pop up
Programming
Web Development
5 Years Ago
by cthornval
…so the modal instead pops up when a
span
id element is clicked. Therfor I have revisited…-attribute (in this case .Project) into the
span
id attribute (#PopUp). Unfortunately I have not been…where I go wrong? window.onload = function() {
span
= document.querySelectorAll("#PopUp"); document.querySelectorAll("#…
Re: not interpreting span tags
Programming
Web Development
14 Years Ago
by fxm
…(){ var term = document.getElementById('term').value var cSpns = document.getElementsByTagName('
span
') for (j = cSpns.length, i = 0; i < j; i…;top</
span
><br> <
span
>middle</
span
><br> <
span
>bottom</
span
> <…
Re: Multiple Id of Span
Digital Media
UI / UX Design
10 Years Ago
by OsaMasw
…;user" id="Maxi">Maxi</
span
> <
span
class="user" id="John">…;John</
span
> <
span
class="user" id="Henry">…;Henry</
span
> <
span
class="user" id="Max">…
wrap last word and asterisk inside a span
Programming
Web Development
11 Years Ago
by Violet_82
…> </div> I am trying to add a
span
with a class of noWrap around the last word and… for the labels that contain the asterisk and add a
span
around them. Now, I didn't get past the first…-word-in-a-container console.log("there are asterisks.
Span
selected are " + $asterisk.length + ", words are "+ words…
Re: What is DIV & SPAN
Digital Media
UI / UX Design
14 Years Ago
by craiggles
… elements; only inline. Then we have the HTML
span
element, which represents an inline division, it spans…quot;> <!-- ... --> </form> </
span
> </body> </html> [/code] because… as explained
span
is inline and thus can only contain fellow inline elements…
confusing syntax: span.scrolled
Digital Media
UI / UX Design
13 Years Ago
by Violet_82
… and retrieved by the chef's own hands? <
span
class="spoiler">Yes! It's the ever…-effervescent, <em>Glendatronix</em>!</
span
> </p> <p>Who lost …}); }); The main question is about the css. What does `
span
.scrolled` mean? I mean I can't understand this syntax. …
how to update contents of a span tag?
Digital Media
UI / UX Design
12 Years Ago
by littledevils326
…Quantity: " + sessionStorage.getItem('quantity0') + "</
span
><br/>"); } else { sessionStorage['quantity0']++;…Quantity: " + sessionStorage.getItem('quantity1') + "</
span
><br/>"); } else { sessionStorage['quantity1']++;…
AJAX: Page events aren't working in "span" pages
Programming
Web Development
17 Years Ago
by Diode
… functions when events are triggered show their output within the
span
section. I am going to call the php scripts that… are ran from javascript (which show their output in
span
)
span
pages because I don't know what else to call… have found that I cannot execute javascript functions in these
span
pages, nor can I use html page events such as…
Modifying Fetched Data of all span class
Programming
Web Development
12 Years Ago
by rakibtg
… do is to remove first three words from all
span
which has `class="yeah"` from the … code but it has a problem: foreach($html->find('
span
.yeah') as $xdat) { $x_des = implode(' ', array_slice(explode(' ', strip_tags($…} Though it delete first three words from all `<
span
class="yeah">` but the problem is, …
Re: Styling Span with JS not working ?
Programming
Web Development
9 Years Ago
by lps
… I assume your code maybe consist of more than one
span
. Eg. (copied from @diafol) <div id="…sometext"> <
span
>Let's</
span
> <
span
> do something...</
span
> </div>…quot;style_me">Let's</
span
> <
span
> do something...</
span
> </div> jquery code…
Re: Modifying Fetched Data of all span class
Programming
Web Development
12 Years Ago
by LastMitch
…** >Though it delete first three words from all <
span
class="yeah"> but the problem is, this… i wanna modify only those data whose are in <
span
class="yeah"> but it match first three… them, though i wanna remove those data from only those
span
types. So, how to remove only first three words from…
Re: How do you create a child selector in css code referring to span
Programming
Web Development
2 Years Ago
by Dani
…font size to 0.75em. This applies to all `<
span
>` tags that are anywhere inside `<h2>`. …;i>` is a child of `<h2>`). h2
span
{ color: #FA9F42; font-size: .75em; } On the other hand, …in this case, the
span
is only triggered if it is a *direct* child of…
background image inside span cropped off
Digital Media
UI / UX Design
11 Years Ago
by Violet_82
…quot;>Here is an icon as background image</
span
></p> </div> &… solid red; } .rightCol{ border:1px solid blue; } .leftCol
span
.image{ background:url("chromeIcon.jpg") no-repeat 0…display the whole image, so that it overflows the
span
? The overflow property doesn't help and same …
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
Backlink Auditor
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC