TAILIEUCHUNG - thiết kế giao diện wordpress phần 6

Tham khảo tài liệu 'thiết kế giao diện wordpress phần 6', công nghệ thông tin, đồ họa - thiết kế - flash phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | Chapter 4 So your work-flow really ends up looking something more like this You want to work with nice small pieces or chunks of code. I tend to define a chunk in XHTML markup as no more than one div section the internal markup and any WordPress template tags it contains. When working with CSS I try to only work with one id or class rule at a time. Sometimes while working with CSS I ll break this down even further and test after every property I add to a rule until the rule looks as I intend and validates. As soon as you see something that doesn t look right in your browser you can check for validation and then fix it. The advantage of this work-flow is you know exactly what needs to be fixed and what XHTML markup or PHP code is to blame. All the code that was looking fine and validating before you can ignore. The recently added markup and code is also the freshest in your mind so you re more likely to realize the solution needed to fix the problem. If you add too many chunks of XHTML markup or several CSS rules before checking it in your browser then discover something has gone awry you ll have twice as much sleuthing to do in order to discover which bit or bits of markup and code are to blame. Again your fail-safe is your backup. 93 Debugging and Validaton You should be regularly saving backups of your theme at good stable stopping points. If you do discover that you just can t figure out where the issue is rolling back to your last stable stopping point and starting over might be your best bet to getting back on track. As mentioned in Chapter 2 you ll primarily design for FireFox and then apply any required fixes hacks and workarounds to IE. You can do that for each piece of code you add to your theme. As you can see in the preceding figure first check your theme in FireFox and if there s a problem fix it for FireFox first. Then check it in IE and make any adjustments for that browser. At this point you guessed it more than half of the debugging process will .

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.