Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
code-style
- Page 1
AI-powered Code Reviews: The Future of Collaborative Development
Programming
1 Month Ago
by SEO_935
… logical errors that may elude human reviewers. * **
Code
Style
Consistency:** AI ensures
code
style
consistency to bolster maintainability, reducing the cognitive load on…projects. ## Addressing Potential Challenges in AI-Powered
Code
Review ## While AI-powered
code
review toolsoffer significant advantages, there are challenges that…
ChatGPT ‘Lobotomized’? Performance Crash Sees Users Leaving in Droves
Community Center
2 Months Ago
by Johannes C.
… do basic research or share links * refusal to write whole
code
snippets, only providing outlines * refusal to deal with topics that…-part replies for a more comprehensive answer. Evolve the interaction
style
based on feedback. Take a deep breath and work on…
Re: Seeking Help for Creating a Circle Generator Tool
Programming
Game Development
2 Months Ago
by jackwells
Here is a
code
i created <!DOCTYPE html> <html lang="… = radius * 2; const circle = document.getElementById('circle'); circle.
style
.width = diameter + 'px'; circle.
style
.height = diameter + 'px'; circle.innerHTML = `Radius: ${radius} blocks…
Re: My Html with CSS code is not working
Digital Media
UI / UX Design
12 Years Ago
by Dandello
[
CODE
]<
style
type=”text/css”>[/
CODE
] This
code
snippet is using ' ”' instead of ' " '. Yes, it's a subtle difference, but it's wrong. (lps pointed this out as well.) You need a true text editor that won't substitute quotes on you.
Re: changing the opacity style using javascript
Programming
Web Development
13 Years Ago
by fxm
[
CODE
].
style
.opacity = 0.4; .
style
.filter = "alpha(opacity=40)";[/
CODE
]
PHP Search form not working
Programming
Web Development
13 Years Ago
by Sarao
[
code
] <
style
> font-size: 14px; font-weight: normal; font-family…: "Courier New", Courier, monospace; } --> </
style
> <?php $con = mysql_connect("localhost","root…;tr> <td class="K2"
style
="text-transform:uppercase"><strong><…
How to set the actual width in marquee?
Programming
Web Development
12 Years Ago
by cliffcc
[
CODE
] <
style
type="text/css"> …Purple; padding: 2px; padding-left: 4x; } </
style
> <script type="text/javascript"> … cross_marquee=document.getElementById("vmarquee") cross_marquee.
style
.left=0 marqueewidth=document.getElementById("marqueecontainer").…
How to put google search in your site
Digital Media
UI / UX Design
14 Years Ago
by evilxmetallicax
[
code
]<
style
type="text/css"> @import url(http://www.google.com/cse/api/branding.css); </
style
> <…;div class="cse-branding-right"
style
="background-color:#FFFFFF;color:#000000"> <…; </form> </div> </div>[/
code
] For an example: [URL="http://runedata.com/google.html…
Re: Have a $this problem
Programming
Web Development
13 Years Ago
by dan_t
[
CODE
]<
style
> .prophp_LoginForm{ border: #0153EB 1px dotted; padding: 5px; width…none; cursor: pointer; } .prophp_Clear{ clear: both; height: 1px; } </
style
> <form class="prophp_LoginForm" method="post…nbsp;</div> </form>[/
CODE
] Here's the
code
I put in without all the junk. …
Re: My Form wont show up
Programming
Web Development
14 Years Ago
by diafol
… media="screen> .error { color: red; } </
style
>';[/
CODE
] This is wrong. You have a mess. If you delete…an attribute value until we reach the next ". [
CODE
]<
style
media="screen">.error { color: red;}&…lt;/
style
>';[/
CODE
] The above should be in the 'head' area …
Re: Syntax error driving me crazy
Programming
Web Development
13 Years Ago
by rajarajan2017
[
CODE
]$
style
= ((++$i % 2) = 0) ? '
style
="background-color:#BFC8FF"' : '
style
="background-color:#AAB2E2"';[/
CODE
] Here you using the conditional operator [B]var=cond?res1:res2;[/B] so the first statement should be a condition and not an assignment. follow the above reply to change that to conditional one.
Re: YaBasic: The beginners choice
Programming
Computer Science
19 Years Ago
by Nuez_Jr
Code
Style
--------------- Comments are useful for telling people WTF this
code
is supposed to do, but there's …formatting. Every company typically has their own set of
code
-
style
guidelines, and the larger the company, the more …It's pointless to waste time reading
code
that looks funny because the
style
is unfamiliar, when what we really…
Re: link color changing
Digital Media
UI / UX Design
15 Years Ago
by macneato
[
CODE
] <
style
type="text/css"> <!-- .style2 {color:…:visited {color: #008000; text-decoration: underline; } /* Defines the
style
for visited links. */ a:active {color: #0000ff; text-decoration: …body { background-color: #FFFFFF; } .style20 {color: #330066} --> </
style
>[/
CODE
] Hopefully that helps you out
Re: imput field colour change
Programming
Web Development
13 Years Ago
by SKANK!!!!!
[
CODE
]<
style
> input.tags{background:transparent} </
style
> <script language="JavaScript"> <!--…the class names to the inputs and the css
code
to
style
them transparent, of course u know that if u…first codes i provided(my first post) with the [
CODE
]onfocus="this.
style
.color='pink';"[/
CODE
] kind of thing
Re: Text Alignment Issue
Programming
Web Development
15 Years Ago
by langsor
[
CODE
]<
style
type="text/css"> #greeting { display: block; text-align: center; } </
style
> <script type="text/javascript… For Visiting Us!</b>"); } </script>[/
CODE
] I suspect this will cure your ills ...
Re: Add a background color to a table
Digital Media
UI / UX Design
14 Years Ago
by cguan_77
… it doesn't work, how to do it? thanks...: [
code
] <
style
type="text/css"> #table1 {background-color: #ff0000…;} </
style
> <table class="table1" cellpadding="15…
Re: [CSS] How to center one div in a main div
Digital Media
UI / UX Design
15 Years Ago
by david_a_smith
[
code
] <
style
type="text/css"> body { text-align: center… 0px auto; width: 300px; height: 85px; background: #FFFF00; } </
style
> <div class="mainDiv"> <div… div :) </div> </div> [/
code
] The CSS for the body is for IE only, as…
Re: Tables Align
Digital Media
UI / UX Design
14 Years Ago
by ytregnn
[
CODE
] <
style
> .inner-table { margin-left: 20px } </
style
> <p class="inner-table"> <…> </tr> </table> </p>[/
CODE
] You mean something like this? I tried this but didn…
Re: imput field colour change
Programming
Web Development
13 Years Ago
by rajarajan2017
[
CODE
]<
style
type='text/css'> input[B]:text [/B]{ background-color:transparent; } </
style
>[/
CODE
]
Re: imput field colour change
Programming
Web Development
13 Years Ago
by Pleasant Day
[
CODE
]<
style
type='text/css'> input:text { background-color:transparent; } </
style
>[/
CODE
] tried that, Thats stops anything from being transparent, so that solution doesnt work.
Re: Help - I've messed something up
Digital Media
UI / UX Design
13 Years Ago
by kRaeTwin
…</body> </html> [/
code
]
Style
Sheet: [
code
] body { background:#c7c5c5 url('background.png') repeat… width:100%; height:5%; border-width:3px; border-
style
:solid; border-color:black; } .allBody .secBody .…
style
:solid; border-color:red; padding:2px; text-align:center; } [/
code
] Not the nicest of
code
…
Re: Hide/Show text
Digital Media
UI / UX Design
15 Years Ago
by sreein1986
[
code
] <
style
type="text/css"> <!-- #Layer1 { position:absolute…font-family: tahoma; font-size: 12px; color: #990000; } --> </
style
> <script type="text/JavaScript"> <…[i]))!=null) { v=args[i+2]; if (obj.
style
) { obj=obj.
style
; v=(v=='show')?'visible':(v=='hide')?'hidden':v; } obj…
Re: Sidebars
Digital Media
UI / UX Design
13 Years Ago
by samw1
[
CODE
]<
style
type="text/css"> <!-- body { font:…:0 10px;margin:0 0 1em 0} </
style
><!--[if lte IE 7]> <…;
style
> .content { margin-right: -1px; } /* this 1px negative …it needs to correct extra whiltespace between the links */ </
style
> <![endif]--></head> <body…
Re: Smooth Scrolling with CSS?
Digital Media
UI / UX Design
15 Years Ago
by sreein1986
[
code
] <
style
type="text/css"> <!-- .{ scrollbar-3dlight-color: #…-color: #FFFFFF; scrollbar-track-color: #ccccff; } --> </
style
> [/
code
] use this
style
sheet to your each page and it's give…
Re: Resolution
Digital Media
UI / UX Design
16 Years Ago
by Alv45525
[
code
] <
style
> table{max-width: 1024px; max-height: 768px; } </
style
> [/
code
] is the
code
for setting the width and height???
Re: CSS Fixed Background
Digital Media
UI / UX Design
17 Years Ago
by alpha_foobar
[
code
] <
style
type="text/css"> body { background-image: url('images/101.jpg'); background-repeat: no-repeat; background-attachment: fixed; background-color: #FFFFE5; margin-left: 0px; margin-top: 0px; line-height: 22px; } </
style
> [/
code
]
Re: How to add nice background
Digital Media
UI / UX Design
16 Years Ago
by MidiMagic
[
code
] <
style
> .bgim {background-image: url(myimage.jpg);} </
style
> .... <div class="bgim"> stuff inside </div> [/
code
] Use background-repeat to tell the browser whether or not to use repetition, background-position to adjust it. You can use any box object in place of the div.
Re: image resize based on screen resolution.
Programming
Web Development
14 Years Ago
by vsmash
[
CODE
]<
style
> body{margin:0 0 0 0;padding:0 0 …;top:0;width:100%;height:100%;z-index:1;} </
style
> <body><div id=backgrounddiv><… is your master wrapper.</div></body> [/
CODE
]
Re: How to get rid of this margine?
Digital Media
UI / UX Design
14 Years Ago
by vsmash
[
CODE
] <
style
> body{margin:0;padding:0;} img{margin:0;padding:0;} </
style
> <body margin=0 padding=0 leftmargin=0 topmargin=0><img src="somimage.jpg" vspace=0 hspace=0> <body> [/
CODE
]
Re: Selectors
Digital Media
UI / UX Design
12 Years Ago
by dipeshbeckham
[
CODE
]<
style
type="text/css"> div#header { color:blue; } #header { color:red; } </
style
> <div id="header…;header"> HeaderAnchor </a> </div>[/
CODE
] Now to make sure remove div#header css and run…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Meet People
Forums
Top Members
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC